mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
New testcase for PR947
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34038 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d0813e47c2
commit
f596a97287
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…
Reference in New Issue
Block a user