summaryrefslogtreecommitdiffstats
path: root/src/test/ui/extern-flag/nounused.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/extern-flag/nounused.rs')
-rw-r--r--src/test/ui/extern-flag/nounused.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/ui/extern-flag/nounused.rs b/src/test/ui/extern-flag/nounused.rs
new file mode 100644
index 000000000..2513986bb
--- /dev/null
+++ b/src/test/ui/extern-flag/nounused.rs
@@ -0,0 +1,7 @@
+// check-pass
+// aux-crate:nounused:somedep=somedep.rs
+// compile-flags: -Zunstable-options -Dunused-crate-dependencies
+// edition:2018
+
+fn main() {
+}