repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix broken MinGW build of gcc.c
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
tls
/
pr66808.C
blob
e977987bdd70039e3e014008f802be6633ea2570
1
// PR c++/66808
2
// { dg-do compile { target c++11 } }
3
// { dg-require-effective-target tls }
4
5
template <typename>
6
class A {
7
int *b = foo ();
8
int *foo () { static __thread int a; return &a; }
9
};
10
A<int> b;