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