Skip to content

Commit

Permalink
New testcase distilled from mutt
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7959 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
lattner committed Aug 18, 2003
1 parent 5e39b52 commit b2d1181
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/CFrontend/2003-08-18-StructAsValue.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

typedef struct {
int op;
} event_t;

event_t test(int X) {
event_t foo, bar;
return X ? foo : bar;
}

0 comments on commit b2d1181

Please sign in to comment.