llvm-project/llvm/test/CFrontend/2007-02-07-AddrLabel.c

11 lines
115 B
C

// PR947
// RUN: %llvmgcc %s -c -o -
void foo() {
void *ptr;
label:
ptr = &&label;
goto *ptr;
}