From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- src/test/ui/dupe-first-attr.rc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/test/ui/dupe-first-attr.rc (limited to 'src/test/ui/dupe-first-attr.rc') diff --git a/src/test/ui/dupe-first-attr.rc b/src/test/ui/dupe-first-attr.rc new file mode 100644 index 000000000..8b7025b7b --- /dev/null +++ b/src/test/ui/dupe-first-attr.rc @@ -0,0 +1,24 @@ +// Regression test for a problem with the first mod attribute +// being applied to every mod + +// pretty-expanded FIXME #23616 + +#[cfg(target_os = "linux")] +mod hello; + +#[cfg(target_os = "macos")] +mod hello; + +#[cfg(target_os = "windows")] +mod hello; + +#[cfg(target_os = "freebsd")] +mod hello; + +#[cfg(target_os = "dragonfly")] +mod hello; + +#[cfg(target_os = "android")] +mod hello; + +pub fn main() { } -- cgit v1.2.3