xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/2007-02-07-AddrLabel.c (revision 340f5e56603e4275faeb89a9aacace41ba22d661)
1 // PR947
2 // RUN: %clang_cc1 %s -emit-llvm -o -
3 
4 void foo() {
5     void *ptr;
6   label:
7     ptr = &&label;
8 
9     goto *ptr;
10   }
11