|
1 |
| -//! Check that malformed `-Zlinker-features` flags are properly rejected. |
| 1 | +//! Check that malformed `-Clinker-features` flags are properly rejected. |
2 | 2 |
|
3 | 3 | //@ revisions: no_value
|
4 |
| -//@[no_value] compile-flags: -Zlinker-features= |
5 |
| -//[no_value]~? ERROR incorrect value `` for unstable option `linker-features` |
| 4 | +//@[no_value] compile-flags: -Clinker-features= |
| 5 | +//[no_value]~? ERROR incorrect value `` for codegen option `linker-features` |
6 | 6 |
|
7 | 7 | //@ revisions: invalid_modifier
|
8 |
| -//@[invalid_modifier] compile-flags: -Zlinker-features=*lld |
9 |
| -//[invalid_modifier]~? ERROR incorrect value `*lld` for unstable option `linker-features` |
| 8 | +//@[invalid_modifier] compile-flags: -Clinker-features=*lld |
| 9 | +//[invalid_modifier]~? ERROR incorrect value `*lld` for codegen option `linker-features` |
10 | 10 |
|
11 | 11 | //@ revisions: unknown_value
|
12 |
| -//@[unknown_value] compile-flags: -Zlinker-features=unknown |
13 |
| -//[unknown_value]~? ERROR incorrect value `unknown` for unstable option `linker-features` |
| 12 | +//@[unknown_value] compile-flags: -Clinker-features=unknown |
| 13 | +//[unknown_value]~? ERROR incorrect value `unknown` for codegen option `linker-features` |
14 | 14 |
|
15 | 15 | //@ revisions: unknown_modifier_value
|
16 |
| -//@[unknown_modifier_value] compile-flags: -Zlinker-features=-unknown |
17 |
| -//[unknown_modifier_value]~? ERROR incorrect value `-unknown` for unstable option `linker-features` |
| 16 | +//@[unknown_modifier_value] compile-flags: -Clinker-features=-unknown |
| 17 | +//[unknown_modifier_value]~? ERROR incorrect value `-unknown` for codegen option `linker-features` |
18 | 18 |
|
19 | 19 | //@ revisions: unknown_boolean
|
20 |
| -//@[unknown_boolean] compile-flags: -Zlinker-features=maybe |
21 |
| -//[unknown_boolean]~? ERROR incorrect value `maybe` for unstable option `linker-features` |
| 20 | +//@[unknown_boolean] compile-flags: -Clinker-features=maybe |
| 21 | +//[unknown_boolean]~? ERROR incorrect value `maybe` for codegen option `linker-features` |
22 | 22 |
|
23 | 23 | //@ revisions: invalid_separator
|
24 |
| -//@[invalid_separator] compile-flags: -Zlinker-features=-lld@+lld |
25 |
| -//[invalid_separator]~? ERROR incorrect value `-lld@+lld` for unstable option `linker-features` |
| 24 | +//@[invalid_separator] compile-flags: -Clinker-features=-lld@+lld |
| 25 | +//[invalid_separator]~? ERROR incorrect value `-lld@+lld` for codegen option `linker-features` |
26 | 26 |
|
27 | 27 | fn main() {}
|
0 commit comments