Improve g++.dg/torture/pr118521.C
Alexander pointed out the way to do a dg-bogus in an included header. PR tree-optimization/118521 * g++.dg/torture/pr118521.C: Use dg-bogus properly.
This commit is contained in:
parent
7d383a7343
commit
d2720051c4
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
// { dg-do compile }
|
||||
// { dg-additional-options "-Wall" }
|
||||
|
||||
#include <vector> // dg-bogus new_allocator.h:191 warning: writing 1 byte into a region of size 0
|
||||
#include <vector> // { dg-bogus "writing 1 byte into a region of size 0" "" { target *-*-* } 0 }
|
||||
|
||||
void bar(std::vector<char>);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue