aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/raw-string-4.c
diff options
context:
space:
mode:
authorJanis Johnson <janisjo@codesourcery.com>2012-06-12 20:24:28 +0000
committerJanis Johnson <janis@gcc.gnu.org>2012-06-12 20:24:28 +0000
commit526d4b72795c51339c5d6d632b915e48f61b5642 (patch)
tree0f46f824a91b082c0a7d79446489d3b2acb48510 /gcc/testsuite/c-c++-common/raw-string-4.c
parent9a3edfd46b0b40b1c048c56c468ff5219995f330 (diff)
downloadgcc-526d4b72795c51339c5d6d632b915e48f61b5642.zip
gcc-526d4b72795c51339c5d6d632b915e48f61b5642.tar.gz
gcc-526d4b72795c51339c5d6d632b915e48f61b5642.tar.bz2
raw-string-3.c: Add comments to checks for multiple messages reported for for one line of...
* c-c++-common/raw-string-3.c: Add comments to checks for multiple messages reported for for one line of source code. * c-c++-common/raw-string-5.c: Likewise. * c-c++-common/raw-string-4.c: Likewise. * c-c++-common/raw-string-6.c: Likewise. * c-c++-common/pr20000.c: Likewise. From-SVN: r188477
Diffstat (limited to 'gcc/testsuite/c-c++-common/raw-string-4.c')
-rw-r--r--gcc/testsuite/c-c++-common/raw-string-4.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/testsuite/c-c++-common/raw-string-4.c b/gcc/testsuite/c-c++-common/raw-string-4.c
index 95825d7..40b42aa 100644
--- a/gcc/testsuite/c-c++-common/raw-string-4.c
+++ b/gcc/testsuite/c-c++-common/raw-string-4.c
@@ -3,16 +3,16 @@
// { dg-options "-std=gnu99" { target c } }
// { dg-options "-std=c++0x" { target c++ } }
-const int i0 = R'a'; // { dg-error "was not declared|undeclared" }
- // { dg-error "expected ',' or ';'" "" { target c } 6 }
-const int i1 = uR'a'; // { dg-error "was not declared|undeclared" }
- // { dg-error "expected ',' or ';'" "" { target c } 8 }
-const int i2 = UR'a'; // { dg-error "was not declared|undeclared" }
- // { dg-error "expected ',' or ';'" "" { target c } 10 }
-const int i3 = u8R'a'; // { dg-error "was not declared|undeclared" }
- // { dg-error "expected ',' or ';'" "" { target c } 12 }
-const int i4 = LR'a'; // { dg-error "was not declared|undeclared" }
- // { dg-error "expected ',' or ';'" "" { target c } 14 }
+const int i0 = R'a'; // { dg-error "was not declared|undeclared" "undeclared" }
+ // { dg-error "expected ',' or ';'" "expected" { target c } 6 }
+const int i1 = uR'a'; // { dg-error "was not declared|undeclared" "undeclared" }
+ // { dg-error "expected ',' or ';'" "expected" { target c } 8 }
+const int i2 = UR'a'; // { dg-error "was not declared|undeclared" "undeclared" }
+ // { dg-error "expected ',' or ';'" "expected" { target c } 10 }
+const int i3 = u8R'a'; // { dg-error "was not declared|undeclared" "undeclared" }
+ // { dg-error "expected ',' or ';'" "expected" { target c } 12 }
+const int i4 = LR'a'; // { dg-error "was not declared|undeclared" "undeclared" }
+ // { dg-error "expected ',' or ';'" "expected" { target c } 14 }
#define R 1 +
#define uR 2 +