mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
testcase for PR1175
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33891 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4535175328
commit
3ac8f5b042
9
test/CFrontend/2007-02-04-EmptyStruct.c
Normal file
9
test/CFrontend/2007-02-04-EmptyStruct.c
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
// RUN: %llvmgcc %s -O3 -S -o - -emit-llvm
|
||||||
|
// PR1175
|
||||||
|
|
||||||
|
struct empty { };
|
||||||
|
|
||||||
|
void foo(struct empty *p) {
|
||||||
|
p++;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user