aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/doc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely.gcc@gmail.com>2011-11-06 00:51:17 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2011-11-06 00:51:17 +0000
commite940f96ffcfe6a80e5c25e49926f1fdf195293a8 (patch)
tree7fe48d20b32e5529003e1ba654382c198b7e645b /libstdc++-v3/doc
parent7c092690506cc6f781500ea6a25d474647ca081b (diff)
downloadgcc-e940f96ffcfe6a80e5c25e49926f1fdf195293a8.zip
gcc-e940f96ffcfe6a80e5c25e49926f1fdf195293a8.tar.gz
gcc-e940f96ffcfe6a80e5c25e49926f1fdf195293a8.tar.bz2
* doc/xml/manual/test.xml: Fix dg-warning examples.
From-SVN: r181023
Diffstat (limited to 'libstdc++-v3/doc')
-rw-r--r--libstdc++-v3/doc/xml/manual/test.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/doc/xml/manual/test.xml b/libstdc++-v3/doc/xml/manual/test.xml
index 006ff33..8466410 100644
--- a/libstdc++-v3/doc/xml/manual/test.xml
+++ b/libstdc++-v3/doc/xml/manual/test.xml
@@ -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 }