about summary refs log tree commit diff
path: root/tests/ui/linkage-attr/link-self-contained-consistency.rs
blob: def63233e94144a19d8a6f741c05203c1bbf28ee (plain)
1
2
3
4
5
6
7
8
9
10
// Checks that self-contained linking components cannot be both enabled and disabled at the same
// time on the CLI.

//@ check-fail
//@ revisions: one many
//@ [one] compile-flags: -Clink-self-contained=-linker -Clink-self-contained=+linker -Zunstable-options
//@ [many] compile-flags: -Clink-self-contained=+linker,+crto -Clink-self-contained=-linker,-crto -Zunstable-options
// ignore-tidy-linelength

fn main() {}