summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr26983.c
blob: 5e2120a1ffe3363967bca72ddd805dd57f6c4030 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* { dg-do link } */

/* This used to cause a linker failure because GCC would output
   assembler code referencing labels that it had not output.  */

void *jmpbuf[6];

void
foo (void)
{
  __builtin_setjmp (jmpbuf);
}

int
main (void)
{
  return 0;
}