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

__thread struct foo; /* { dg-warning "useless '__thread' in empty declaration" } */