summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20050122-1.c
blob: a70907d905146adf2d333d7d7127ba2fd6f89318 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* From PR 19484.  */
extern void foo (void) __attribute__((noreturn));
int n;

void
g (void)
{
  void (*f) (void) = foo;
  if (n)
    f ();
  n = 1;
}