aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/raw-string-16.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/c-c++-common/raw-string-16.c')
-rw-r--r--gcc/testsuite/c-c++-common/raw-string-16.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/testsuite/c-c++-common/raw-string-16.c b/gcc/testsuite/c-c++-common/raw-string-16.c
index c277fda..1185c0e 100644
--- a/gcc/testsuite/c-c++-common/raw-string-16.c
+++ b/gcc/testsuite/c-c++-common/raw-string-16.c
@@ -8,15 +8,15 @@ def()abcdef";
// { dg-error "invalid character" "invalid" { target *-*-* } 6 }
// { dg-error "stray" "stray" { target *-*-* } 6 }
const void *s1 = R"abcdefghijklmn??/(a)abcdefghijklmn???";
- // { dg-error "raw string delimiter longer" "longer" { target *-*-* } 10 }
- // { dg-error "stray" "stray" { target *-*-* } 10 }
+ // { dg-error "raw string delimiter longer" "longer" { target *-*-* } .-1 }
+ // { dg-error "stray" "stray" { target *-*-* } .-2 }
const void *s2 = R"abcdefghijklmno??/(a)abcdefghijklmno???";
- // { dg-error "raw string delimiter longer" "longer" { target *-*-* } 14 }
- // { dg-error "stray" "stray" { target *-*-* } 14 }
+ // { dg-error "raw string delimiter longer" "longer" { target *-*-* } .-1 }
+ // { dg-error "stray" "stray" { target *-*-* } .-2 }
const void *s3 = R"abcdefghijklmnop??=(a)abcdefghijklmnop??=?"; // { dg-warning "trigraph ..= ignored" }
- // { dg-error "raw string delimiter longer" "longer" { target *-*-* } 17 }
- // { dg-error "stray" "stray" { target *-*-* } 17 }
+ // { dg-error "raw string delimiter longer" "longer" { target *-*-* } .-1 }
+ // { dg-error "stray" "stray" { target *-*-* } .-2 }
const void *s4 = R"abc\
()abcdef";
// { dg-error "invalid character" "invalid" { target *-*-* } 20 }