From 99301ff8303b6a0a21bb3aca9b0efb73b064ac2d Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 16 Jun 2011 13:20:55 -0700 Subject: [PATCH] test: Add a test for outer attributes on the first module in a file Issue #487 --- src/test/run-pass/item-attributes.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/test/run-pass/item-attributes.rs b/src/test/run-pass/item-attributes.rs index 39f96499e92..f9a8c613486 100644 --- a/src/test/run-pass/item-attributes.rs +++ b/src/test/run-pass/item-attributes.rs @@ -1,5 +1,11 @@ // xfail-stage0 +// These are are attributes of the following mod +#[attr1 = "val"] +#[attr2 = "val"] +mod test_first_item_in_file_mod { +} + mod test_single_attr_outer { #[attr = "val"]