summaryrefslogtreecommitdiffstats
path: root/tests/ui/static/auxiliary/extern-statics.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/static/auxiliary/extern-statics.rs')
-rw-r--r--tests/ui/static/auxiliary/extern-statics.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/static/auxiliary/extern-statics.rs b/tests/ui/static/auxiliary/extern-statics.rs
new file mode 100644
index 000000000..c090bc79f
--- /dev/null
+++ b/tests/ui/static/auxiliary/extern-statics.rs
@@ -0,0 +1,4 @@
+extern "C" {
+ pub static XA: u8;
+ pub static mut XB: u8;
+}