* doc/xml/manual/test.xml: Fix dg-warning examples.
From-SVN: r181023
This commit is contained in:
parent
7c09269050
commit
e940f96ffc
2 changed files with 6 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue