Commit d131a4af by Uros Bizjak Committed by Uros Bizjak

init-2.mm: Tweak errors.

	* obj-c++.dg/tls/init-2.mm: Tweak errors.

From-SVN: r192348
parent 444d5288
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
......
......@@ -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" } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment