diff options
author | Richard Henderson <rth@redhat.com> | 2002-08-14 17:16:11 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-08-14 17:16:11 -0700 |
commit | 55ae9079933065d00adfac121e8b5b6a18b61939 (patch) | |
tree | 15102fac5e9f34a0ec1ecec53b6dc361f5693de6 /gcc | |
parent | 236261548b57ca45c29735e29708976525ddb9a5 (diff) | |
download | gcc-55ae9079933065d00adfac121e8b5b6a18b61939.zip gcc-55ae9079933065d00adfac121e8b5b6a18b61939.tar.gz gcc-55ae9079933065d00adfac121e8b5b6a18b61939.tar.bz2 |
* gcc.dg/tls/diag-3.c: Fix expected message strings.
From-SVN: r56336
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/tls/diag-3.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e9fd927..69a99ff 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2002-08-14 Richard Henderson <rth@redhat.com> + + * gcc.dg/tls/diag-3.c: Fix expected message strings. + 2002-08-14 Neil Booth <neil@daikokuya.co.uk> * gcc.dg/cpp/_Pragma3.c: New test. diff --git a/gcc/testsuite/gcc.dg/tls/diag-3.c b/gcc/testsuite/gcc.dg/tls/diag-3.c index c23b141..89d1bea 100644 --- a/gcc/testsuite/gcc.dg/tls/diag-3.c +++ b/gcc/testsuite/gcc.dg/tls/diag-3.c @@ -1,10 +1,10 @@ /* Report invalid extern and __thread combinations. */ extern int j; /* { dg-error "previous declaration" } */ -__thread int j; /* { dg-error "thread-local declaration for" } */ +__thread int j; /* { dg-error "follows non thread-local" } */ extern __thread int i; /* { dg-error "previous declaration" } */ -int i; /* { dg-error "non thread-local" } */ +int i; /* { dg-error "follows thread-local" } */ extern __thread int k; /* This is fine. */ __thread int k; |