Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/spellcheck-options-14.c @ 157:dafe684d005c
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:08:54 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
/* Verify that we offer suggestions for misspelled sanitizer options (PR driver/78877). */ /* { dg-do compile } */ /* { dg-options "-fsanitize=addres,nul,this-is-not-a-sanitizer-option" } */ /* { dg-error "unrecognized argument to '-fsanitize=' option: 'addres'; did you mean 'address'" "" { target *-*-* } 0 } */ /* { dg-error "unrecognized argument to '-fsanitize=' option: 'nul'; did you mean 'null'" "" { target *-*-* } 0 } */ /* { dg-error "unrecognized argument to '-fsanitize=' option: 'this-is-not-a-sanitizer-option'" "" { target *-*-* } 0 } */