Commit 70adfc36 by Zack Weinberg Committed by Zack Weinberg

* gcc.dg/tls/diag-3.c: Tweak dg-error regexp.

From-SVN: r75690
parent 9b913b03
2004-01-11 Zack Weinberg <zack@codesourcery.com>
* gcc.dg/tls/diag-3.c: Tweak dg-error regexp.
2004-01-11 Ian Lance Taylor <ian@wasabisystems.com> 2004-01-11 Ian Lance Taylor <ian@wasabisystems.com>
PR c++/3478 PR c++/3478
......
/* Report invalid extern and __thread combinations. */ /* Report invalid extern and __thread combinations. */
extern int j; /* { dg-error "previous declaration" } */ extern int j; /* { dg-error "previous declaration" } */
__thread int j; /* { dg-error "follows non thread-local" } */ __thread int j; /* { dg-error "follows non-thread-local" } */
extern __thread int i; /* { dg-error "previous declaration" } */ extern __thread int i; /* { dg-error "previous declaration" } */
int i; /* { dg-error "follows thread-local" } */ int i; /* { dg-error "follows thread-local" } */
......
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