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

11 lines
115 B
C
Raw Normal View History

2007-02-08 12:34:03 +08:00
// PR947
// RUN: %llvmgcc %s -c -o -
void foo() {
void *ptr;
label:
ptr = &&label;
goto *ptr;
}