PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / spellcheck-options-11.c
blob8e271416aa2b79ed5b30d52aae766b39d2ff67b1
1 /* Verify that we provide a hint if the user misspells an option argument
2 (PR driver/69265). */
4 /* { dg-do compile } */
5 /* { dg-options "-ftls-model=global-dinamic" } */
6 /* { dg-error "unknown TLS model 'global-dinamic'" "" { target *-*-* } 0 } */
7 /* { dg-message "valid arguments to '-ftls-model=' are: global-dynamic initial-exec local-dynamic local-exec; did you mean 'global-dynamic'?" "" { target *-*-* } 0 } */