OSDN Git Service

* doc/xml/manual/test.xml: Fix dg-warning examples.
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 6 Nov 2011 00:51:17 +0000 (00:51 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 6 Nov 2011 00:51:17 +0000 (00:51 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181023 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/doc/xml/manual/test.xml

index bb1d554..3b5ba45 100644 (file)
@@ -1,5 +1,9 @@
 2011-11-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
 
 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
        * doc/xml/manual/status_cxx200x.xml: Document emplace members are
        missing.
        PR libstdc++/44436
        * doc/xml/manual/status_cxx200x.xml: Document emplace members are
        missing.
index 006ff33..8466410 100644 (file)
@@ -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-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
 
 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 }
 
 Example 4: Testing for compilation errors on line 41
 // { dg-do compile }