summaryrefslogtreecommitdiffstats
path: root/tests/ui/native-library-link-flags/modifiers-override-3.rs
blob: b28c53c6b0a5011d0cb6e692133dafdf241f6f14 (plain)
1
2
3
4
5
6
7
// Regression test for issue #97299, one command line library with modifiers
// overrides another command line library with modifiers.

// compile-flags:-lstatic:+whole-archive=foo -lstatic:+whole-archive=foo
// error-pattern: overriding linking modifiers from command line is not supported

fn main() {}