1 /* PR target/41985 */ 2 /* { dg-do compile } */ 3 /* { dg-options "" } */ 4 5 int main()6 main () 7 { 8 int i; 9 asm volatile ("# %&": : "g" (i)); /* { dg-error "used without any local dynamic TLS references" } */ 10 return 0; 11 } 12