diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/extratokens.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/tr-warn4.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/tr-warn5.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/tr-warn6.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/extratokens.c b/gcc/testsuite/gcc.dg/cpp/extratokens.c index 42090ec..0941be7 100644 --- a/gcc/testsuite/gcc.dg/cpp/extratokens.c +++ b/gcc/testsuite/gcc.dg/cpp/extratokens.c @@ -31,7 +31,7 @@ #ident "something" bar /* { dg-error "extra tokens" "tokens after #ident" } */ -#line 36 "file.c" 3 +# 36 "file.c" 3 /* ... but in a system header, it's acceptable. */ #ifdef KERNEL diff --git a/gcc/testsuite/gcc.dg/cpp/tr-warn4.c b/gcc/testsuite/gcc.dg/cpp/tr-warn4.c index fb9dee9..14dd8a3 100644 --- a/gcc/testsuite/gcc.dg/cpp/tr-warn4.c +++ b/gcc/testsuite/gcc.dg/cpp/tr-warn4.c @@ -13,7 +13,7 @@ #if 1l #endif -#line 17 "sys-header.h" 3 +# 17 "sys-header.h" 3 /* We are in system headers now, no -Wtraditional warnings should issue. */ #if 1U diff --git a/gcc/testsuite/gcc.dg/cpp/tr-warn5.c b/gcc/testsuite/gcc.dg/cpp/tr-warn5.c index ab301b3..16dcf4c 100644 --- a/gcc/testsuite/gcc.dg/cpp/tr-warn5.c +++ b/gcc/testsuite/gcc.dg/cpp/tr-warn5.c @@ -7,7 +7,7 @@ #if +1 /* { dg-warning "unary plus operator" "unary plus operator" } */ #endif -#line 11 "sys-header.h" 3 +# 11 "sys-header.h" 3 /* We are in system headers now, no -Wtraditional warnings should issue. */ #if +1 diff --git a/gcc/testsuite/gcc.dg/cpp/tr-warn6.c b/gcc/testsuite/gcc.dg/cpp/tr-warn6.c index 586c56c..5c94e4c 100644 --- a/gcc/testsuite/gcc.dg/cpp/tr-warn6.c +++ b/gcc/testsuite/gcc.dg/cpp/tr-warn6.c @@ -15,7 +15,7 @@ /* Catch the second warning from the above line. */ /* { dg-warning "macro argument \"world\" would be stringified" "traditional stringification" { target *-*-* } 13 } */ -#line 19 "sys-header.h" 3 +# 19 "sys-header.h" 3 /* We are in system headers now, no -Wtraditional warnings should issue. */ #define bar1(h) sdf "h3" fds "h" |