]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tls/asm-1.c
Makefile.in (libgcc-support, [...]): Add emutls.c.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tls / asm-1.c
1 /* { dg-options "-Werror" } */
2 __thread int i;
3
4 int foo ()
5 {
6 asm volatile ("" :: "m" (&i)); /* { dg-error "directly addressable" } */
7 }