blob: d132014420df9aee90581da15c224fdf1c06e2dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Tests literals in attributes.
// pp-exact
#![feature(rustc_attrs)]
fn main() {
#![rustc_dummy("hi", 1, 2, 1.012, pi = 3.14, bye, name("John"))]
#[rustc_dummy = 8]
fn f() {}
#[rustc_dummy(1, 2, 3)]
fn g() {}
}
|