about summary refs log tree commit diff
path: root/tests/ui/link-native-libs/modifiers-override-3.rs
blob: 3d269dbd81240d6ce0b95284313072761caa4f9a (plain)
1
2
3
4
5
6
7
8
// 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

fn main() {}

//~? ERROR overriding linking modifiers from command line is not supported