aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr41985.c
blob: b38b6dc42e18efc9b0a19736ba2568506d8c1935 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR target/41985 */
/* { dg-do compile } */
/* { dg-options "" } */

int
main ()
{
  int i;
  asm volatile ("# %&": : "g" (i));	/* { dg-error "used without any local dynamic TLS references" } */
  return 0;
}