mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-26 21:51:12 +08:00
* doc/xml/manual/test.xml: Fix dg-warning examples.
From-SVN: r181023
This commit is contained in:
parent
7c09269050
commit
e940f96ffc
@ -1,3 +1,7 @@
|
||||
2011-11-06 Jonathan Wakely <jwakely.gcc@gmail.com>
|
||||
|
||||
* doc/xml/manual/test.xml: Fix dg-warning examples.
|
||||
|
||||
2011-11-06 Jonathan Wakely <jwakely.gcc@gmail.com>
|
||||
|
||||
PR libstdc++/44436
|
||||
|
@ -609,10 +609,10 @@ Example 1: Testing compilation only
|
||||
// { dg-do compile }
|
||||
|
||||
Example 2: Testing for expected warnings on line 36, which all targets fail
|
||||
// { dg-warning "string literals" "" { xfail *-*-* } 36
|
||||
// { dg-warning "string literals" "" { xfail *-*-* } 36 }
|
||||
|
||||
Example 3: Testing for expected warnings on line 36
|
||||
// { dg-warning "string literals" "" { target *-*-* } 36
|
||||
// { dg-warning "string literals" "" { target *-*-* } 36 }
|
||||
|
||||
Example 4: Testing for compilation errors on line 41
|
||||
// { dg-do compile }
|
||||
|
Loading…
x
Reference in New Issue
Block a user