// 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() {
}
// xfail-stage0

#[attr = "val"]
mod mod1 {
}

fn main() {
}
--- 
+++ 
@@ -1,21 +1,8 @@
 // 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() {
 }
test: Add test cases for outer attributes on all item types
