File tree Expand file tree Collapse file tree 1 file changed +41
-11
lines changed Expand file tree Collapse file tree 1 file changed +41
-11
lines changed Original file line number Diff line number Diff line change 1
1
// xfail-stage0
2
2
3
- #[ attr = "val" ]
4
- const int x = 10 ;
3
+ mod test_single_attr_outer {
5
4
6
- #[ attr = "val" ]
7
- mod mod1 {
8
- }
5
+ #[ attr = "val" ]
6
+ const int x = 10 ;
7
+
8
+ #[ attr = "val" ]
9
+ mod mod1 {
10
+ }
11
+
12
+ #[ attr = "val" ]
13
+ native "rust" mod rustrt {
14
+ }
15
+
16
+ #[ attr = "val" ]
17
+ type t = obj { } ;
18
+
19
+ #[ attr = "val" ]
20
+ obj o( ) { }
9
21
10
- #[ attr = "val" ]
11
- native "rust" mod rustrt {
12
22
}
13
23
14
- #[ attr = "val" ]
15
- type t = obj { } ;
24
+ mod test_multi_attr_outer {
25
+
26
+ #[ attr1 = "val" ]
27
+ #[ attr2 = "val" ]
28
+ const int x = 10 ;
16
29
17
- #[ attr = "val" ]
18
- obj o( ) { }
30
+ #[ attr1 = "val" ]
31
+ #[ attr2 = "val" ]
32
+ mod mod1 {
33
+ }
34
+
35
+ #[ attr1 = "val" ]
36
+ #[ attr2 = "val" ]
37
+ native "rust" mod rustrt {
38
+ }
39
+
40
+ #[ attr1 = "val" ]
41
+ #[ attr2 = "val" ]
42
+ type t = obj { } ;
43
+
44
+ #[ attr1 = "val" ]
45
+ #[ attr2 = "val" ]
46
+ obj o( ) { }
47
+
48
+ }
19
49
20
50
fn main ( ) {
21
51
}
You can’t perform that action at this time.
0 commit comments