]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* doc/xml/manual/test.xml: Fix dg-warning examples.
authorJonathan Wakely <jwakely.gcc@gmail.com>
Sun, 6 Nov 2011 00:51:17 +0000 (00:51 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sun, 6 Nov 2011 00:51:17 +0000 (00:51 +0000)
From-SVN: r181023

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

index bb1d554d34e7fe5ca576019ab4e10538ea4dc24c..3b5ba45f75d8e8cb1452701d40092edc788249b7 100644 (file)
@@ -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
index 006ff332086d76775914bb7ec6f5b54c4cc76305..84664107db3ce464edef9d87e77a8d79e97e3986 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-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 }