New testcase, distilled from ed-0.2
[oota-llvm.git] / test / CFrontend / 2003-02-12-NonlocalGoto.c
1
2 /* It is unlikely that LLVM will ever support nested functions, but if it does,
3    here is a testcase. */
4
5 main()
6 {
7   __label__ l;
8
9   void*x()
10   {
11     goto l;
12   }
13
14   x();
15   abort();
16   return;
17 l:
18   exit(0);
19 }
20
21
22
23
24