summaryrefslogtreecommitdiffstats
path: root/tests/ui/symbol-mangling-version/unstable.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/symbol-mangling-version/unstable.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/symbol-mangling-version/unstable.rs b/tests/ui/symbol-mangling-version/unstable.rs
new file mode 100644
index 000000000..df87a39cd
--- /dev/null
+++ b/tests/ui/symbol-mangling-version/unstable.rs
@@ -0,0 +1,6 @@
+// revisions: legacy legacy-ok
+// [legacy] compile-flags: -Csymbol-mangling-version=legacy
+// [legacy-ok] check-pass
+// [legacy-ok] compile-flags: -Zunstable-options -Csymbol-mangling-version=legacy
+
+fn main() {}