xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/2007-02-07-AddrLabel.c (revision 5ba302fdeaa9e153d58b5dcaef42d660aedee92e)
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