mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
New testcase distilled from mutt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7959 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5e39b52076
commit
b2d11814f9
9
test/CFrontend/2003-08-18-StructAsValue.c
Normal file
9
test/CFrontend/2003-08-18-StructAsValue.c
Normal file
@ -0,0 +1,9 @@
|
||||
|
||||
typedef struct {
|
||||
int op;
|
||||
} event_t;
|
||||
|
||||
event_t test(int X) {
|
||||
event_t foo, bar;
|
||||
return X ? foo : bar;
|
||||
}
|
Loading…
Reference in New Issue
Block a user