summaryrefslogtreecommitdiffstats
path: root/tests/run-make-fulldeps/used/used.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make-fulldeps/used/used.rs')
-rw-r--r--tests/run-make-fulldeps/used/used.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/run-make-fulldeps/used/used.rs b/tests/run-make-fulldeps/used/used.rs
new file mode 100644
index 000000000..dca0a5e11
--- /dev/null
+++ b/tests/run-make-fulldeps/used/used.rs
@@ -0,0 +1,6 @@
+#![crate_type = "lib"]
+
+#[used]
+static FOO: u32 = 0;
+
+static BAR: u32 = 0;