llvm-for-llvmta/tools/clang/test/CodeGen/2007-02-07-AddrLabel.c

11 lines
125 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// PR947
// RUN: %clang_cc1 %s -emit-llvm -o -
void foo() {
void *ptr;
label:
ptr = &&label;
goto *ptr;
}