gcc/testsuite/gcc.target/i386/spellcheck-options-3.c
raw| 1 | /* Verify that we provide a hint if the user misspells an option argument |
| 2 | (PR middle-end/77475). */ |
| 3 | |
| 4 | /* { dg-do compile } */ |
| 5 | /* { dg-options "-mmemcpy-strategy=unroled_looop:8:align" } */ |
| 6 | /* { dg-error "wrong strategy name 'unroled_looop' specified for option '-mmemcpy_strategy='" "" { target *-*-* } 0 } */ |
| 7 | /* { dg-message "valid arguments to '-mmemcpy_strategy=' are: \[^\n\r]*; did you mean 'unrolled_loop'?" "" { target *-*-* } 0 } */ |