diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-08-15 00:16:11 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-08-15 00:16:11 +0000 |
commit | 4ab7f0a52f5bb9211e23414c73f348a1a85522e3 (patch) | |
tree | 15102fac5e9f34a0ec1ecec53b6dc361f5693de6 /gcc/testsuite | |
parent | 6fce022ced81429042dfa154d4f9497df14d122a (diff) | |
download | gcc-4ab7f0a52f5bb9211e23414c73f348a1a85522e3.tar.gz |
* gcc.dg/tls/diag-3.c: Fix expected message strings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56336 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite')
-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 e9fd9277f84..69a99ff071f 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 c23b141f3cf..89d1bea8ede 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; |