* gcc.dg/tls/diag-3.c: Fix expected message strings.
authorRichard Henderson <rth@redhat.com>
Thu, 15 Aug 2002 00:16:11 +0000 (17:16 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 15 Aug 2002 00:16:11 +0000 (17:16 -0700)
From-SVN: r56336

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tls/diag-3.c

index e9fd9277f84277bc607dad763684cfa938624fec..69a99ff071f71570d52eabf6aeb27679bfdb46e1 100644 (file)
@@ -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.
index c23b141f3cfec9bd53f4269862d9d85999521a47..89d1bea8ede06de1aa27923968d6fc4e8fccf282 100644 (file)
@@ -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;