diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp')
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/c++98-pedantic.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/c89-pedantic.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/c94-pedantic.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/gnuc89-pedantic.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/cpp/if-1.c | 4 |
5 files changed, 6 insertions, 6 deletions
diff --git a/gcc/testsuite/gcc.dg/cpp/c++98-pedantic.c b/gcc/testsuite/gcc.dg/cpp/c++98-pedantic.c index 3192a9f..61e13c5 100644 --- a/gcc/testsuite/gcc.dg/cpp/c++98-pedantic.c +++ b/gcc/testsuite/gcc.dg/cpp/c++98-pedantic.c @@ -6,5 +6,5 @@ /* This file is for testing the preprocessor in -std=c++98 -pedantic mode. Neil Booth, 2 Dec 2000. */ -#if 1LL /* { dg-warning "too many" } */ +#if 1LL /* { dg-warning "long long" } */ #endif diff --git a/gcc/testsuite/gcc.dg/cpp/c89-pedantic.c b/gcc/testsuite/gcc.dg/cpp/c89-pedantic.c index 75051fd..3b7f6dd 100644 --- a/gcc/testsuite/gcc.dg/cpp/c89-pedantic.c +++ b/gcc/testsuite/gcc.dg/cpp/c89-pedantic.c @@ -6,5 +6,5 @@ /* This file is for testing the preprocessor in -std=c89 -pedantic mode. Neil Booth, 2 Dec 2000. */ -#if 1LL /* { dg-warning "too many" } */ +#if 1LL /* { dg-warning "long long" } */ #endif diff --git a/gcc/testsuite/gcc.dg/cpp/c94-pedantic.c b/gcc/testsuite/gcc.dg/cpp/c94-pedantic.c index 589d23c..1c12164 100644 --- a/gcc/testsuite/gcc.dg/cpp/c94-pedantic.c +++ b/gcc/testsuite/gcc.dg/cpp/c94-pedantic.c @@ -6,5 +6,5 @@ /* This file is for testing the preprocessor in -std=iso9899:199409 -pedantic mode. Neil Booth, 2 Dec 2000. */ -#if 1LL /* { dg-warning "too many" } */ +#if 1LL /* { dg-warning "long long" } */ #endif diff --git a/gcc/testsuite/gcc.dg/cpp/gnuc89-pedantic.c b/gcc/testsuite/gcc.dg/cpp/gnuc89-pedantic.c index f9cd968..2749ad7 100644 --- a/gcc/testsuite/gcc.dg/cpp/gnuc89-pedantic.c +++ b/gcc/testsuite/gcc.dg/cpp/gnuc89-pedantic.c @@ -6,5 +6,5 @@ /* This file is for testing the preprocessor in -std=gnu89 -pedantic mode. Neil Booth, 2 Dec 2000. */ -#if 1LL /* { dg-warning "too many" } */ +#if 1LL /* { dg-warning "long long" } */ #endif diff --git a/gcc/testsuite/gcc.dg/cpp/if-1.c b/gcc/testsuite/gcc.dg/cpp/if-1.c index c08fd23..c30f215 100644 --- a/gcc/testsuite/gcc.dg/cpp/if-1.c +++ b/gcc/testsuite/gcc.dg/cpp/if-1.c @@ -22,7 +22,7 @@ #error 0xabc /* { dg-bogus "#error" "normal conversion" } */ #endif -#if 1.2 /* { dg-error "loating point numbers" "floating point in #if" } */ +#if 1.2 /* { dg-error "loating constant" "floating point in #if" } */ #endif #if 4uu /* { dg-error "invalid suffix" "too many suffixes" } */ @@ -34,7 +34,7 @@ #if 1234lul /* { dg-error "invalid suffix" "u between ls" } */ #endif -#if 099 /* { dg-error "digits beyond the radix" "decimal in octal constant" } */ +#if 099 /* { dg-error "invalid digit" "decimal in octal constant" } */ #endif #if 0xfffffffffffffffff /* { dg-error "integer constant" "range error" } */ |