init-2.mm: Tweak errors.
authorUros Bizjak <ubizjak@gmail.com>
Thu, 11 Oct 2012 07:04:32 +0000 (09:04 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 11 Oct 2012 07:04:32 +0000 (09:04 +0200)
* obj-c++.dg/tls/init-2.mm: Tweak errors.

From-SVN: r192348

gcc/testsuite/ChangeLog
gcc/testsuite/obj-c++.dg/tls/init-2.mm

index ebc051df1e27d12ed41c19b493dff88c0c5c0b4e..47161840bde1fa7d3edc969a421f99111d1857e8 100644 (file)
@@ -1,3 +1,7 @@
+2012-10-11  Uros Bizjak  <ubizjak@gmail.com>
+
+       * obj-c++.dg/tls/init-2.mm: Tweak errors.
+
 2012-10-10  Paolo Carlini  <paolo.carlini@oracle.com>
 
        PR c++/43663
index dc886ba0107afec0b2c1c9ab34868c3d2faf9d81..327c309e98584e5b22a88fb63c026b8a2ab1f6bf 100644 (file)
@@ -2,13 +2,13 @@
 /* { dg-require-effective-target tls } */
 
 extern __thread int i;
-__thread int *p = &i;   /* { dg-error "dynamically initialized" } */
+__thread int *p = &i;  /* { dg-error "dynamic initialization" } */
 
 extern int f();
-__thread int j = f();   /* { dg-error "dynamically initialized" } */
+__thread int j = f();  /* { dg-error "dynamic initialization" } */
 
 struct S
 {
   S();
 };
-__thread S s;           /* { dg-error "" } two errors here */
+__thread S s;          /* { dg-error "dynamic initialization" } */