about summary refs log tree commit diff
path: root/tests/ui/link-native-libs/modifiers-override-3.rs
blob: d05735ad61626c80bfdfdcb218942def20cc45b3 (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() {}