test: Add test cases for outer attributes on all item types

This commit is contained in:
Brian Anderson 2011-06-14 16:29:46 -07:00
parent 11c5c73d56
commit 697fdaac24

View File

@ -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() {
}