comparison gcc/testsuite/gcc.dg/spellcheck-options-14.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 /* Verify that we offer suggestions for misspelled sanitizer options 1 /* Verify that we offer suggestions for misspelled sanitizer options
2 (PR driver/78877). */ 2 (PR driver/78877). */
3 3
4 /* { dg-do compile } */ 4 /* { dg-do compile } */
5 /* { dg-options "-fsanitize=addres,nul,this-is-not-a-sanitizer-option" } */ 5 /* { dg-options "-fsanitize=addres,nul,this-is-not-a-sanitizer-option" } */
6 /* { dg-error "unrecognized argument to -fsanitize= option: .addres.; did you mean .address." "" { target *-*-* } 0 } */ 6 /* { dg-error "unrecognized argument to '-fsanitize=' option: 'addres'; did you mean 'address'" "" { target *-*-* } 0 } */
7 /* { dg-error "unrecognized argument to -fsanitize= option: .nul.; did you mean .null." "" { target *-*-* } 0 } */ 7 /* { dg-error "unrecognized argument to '-fsanitize=' option: 'nul'; did you mean 'null'" "" { target *-*-* } 0 } */
8 /* { dg-error "unrecognized argument to -fsanitize= option: .this-is-not-a-sanitizer-option." "" { target *-*-* } 0 } */ 8 /* { dg-error "unrecognized argument to '-fsanitize=' option: 'this-is-not-a-sanitizer-option'" "" { target *-*-* } 0 } */