summaryrefslogtreecommitdiff
path: root/gcc/testsuite/obj-c++.dg/tls/diag-5.mm
blob: 413d107f24d3ab56c2598b54968e12d30e4c3873 (plain)
1
2
3
4
/* __thread specifiers on empty declarations.  */
/* { dg-require-effective-target tls } */

__thread struct foo; /* { dg-error "qualifiers can only be specified for objects and functions" } */