about summary refs log tree commit diff
path: root/tests/ui/symbol-mangling-version/unstable.rs
blob: d79320ccccd5ba0cfd7e5452002f68ef7e842410 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//@ revisions: legacy legacy-ok hashed hashed-ok
//@ [legacy] compile-flags: -Csymbol-mangling-version=legacy
//@ [legacy-ok] check-pass
//@ [legacy-ok] compile-flags: -Zunstable-options -Csymbol-mangling-version=legacy
//@ [hashed] compile-flags: -Csymbol-mangling-version=hashed
//@ [hashed-ok] check-pass
//@ [hashed-ok] compile-flags: -Zunstable-options -Csymbol-mangling-version=hashed

fn main() {}

//[legacy]~? ERROR `-C symbol-mangling-version=legacy` requires `-Z unstable-options`
//[hashed]~? ERROR `-C symbol-mangling-version=hashed` requires `-Z unstable-options`