test: Add test cases for outer attributes on all item types
This commit is contained in:
parent
11c5c73d56
commit
697fdaac24
@ -1,8 +1,21 @@
|
||||
// xfail-stage0
|
||||
|
||||
#[attr = "val"]
|
||||
const int x = 10;
|
||||
|
||||
#[attr = "val"]
|
||||
mod mod1 {
|
||||
}
|
||||
|
||||
#[attr = "val"]
|
||||
native "rust" mod rustrt {
|
||||
}
|
||||
|
||||
#[attr = "val"]
|
||||
type t = obj { };
|
||||
|
||||
#[attr = "val"]
|
||||
obj o() { }
|
||||
|
||||
fn main() {
|
||||
}
|
Loading…
Reference in New Issue
Block a user