gcc/testsuite/gcc.dg/diag-sanity.c
raw| 1 | /* Verify that an invalid argument is diagnosed correcly. |
| 2 | { dg-do compile } |
| 3 | { dg-options "-fdiagnostics-minimum-margin-width=42xyz -flto-compression-level=2-O2" } */ |
| 4 | |
| 5 | |
| 6 | /* { dg-error "argument to '-fdiagnostics-minimum-margin-width=' should be a non-negative integer" "" { target *-*-* } 0 } |
| 7 | { dg-error "argument to '-flto-compression-level=' should be a non-negative integer" "" { target *-*-* } 0 } */ |