Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/format/opt-6.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* Test diagnostics for options used on their own without | |
2 -Wformat. -Wformat-contains-nul. */ | |
3 /* Origin: Bruce Korb <bkorb@gnu.org> */ | |
4 /* { dg-do compile } */ | |
5 /* { dg-options "-Wformat-contains-nul" } */ | |
6 | |
7 /* { dg-warning "-Wformat-contains-nul ignored without -Wformat" "ignored" { target *-*-* } 0 } */ |