mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-23 05:52:40 +00:00
New testcase for PR947
llvm-svn: 34038
This commit is contained in:
parent
a7edf259e5
commit
89bd4c47e1
10
test/CFrontend/2007-02-07-AddrLabel.c
Normal file
10
test/CFrontend/2007-02-07-AddrLabel.c
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
// PR947
|
||||||
|
// RUN: %llvmgcc %s -c -o -
|
||||||
|
|
||||||
|
void foo() {
|
||||||
|
void *ptr;
|
||||||
|
label:
|
||||||
|
ptr = &&label;
|
||||||
|
|
||||||
|
goto *ptr;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user