URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [tls/] [diag-4.C] - Rev 301
Compare with Previous | Blame | View Log
/* Invalid __thread specifiers. */
/* { dg-require-effective-target tls_native } */
__thread typedef int g4; /* { dg-error "multiple storage classes" } */
void foo()
{
__thread auto int l2; /* { dg-error "multiple storage classes" } */
__thread register int l4; /* { dg-error "multiple storage classes" } */
}