summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/tls/diag-5.C
blob: ca92b3074288ae1ce4a425a0602798e510b74ca3 (plain)
1
2
3
4
5
// PR c++/30536
// Invalid __thread specifiers.
// { dg-require-effective-target tls }

struct A { __thread register int i; }; // { dg-error "multiple storage classes|storage class specified" }