diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-02-12 08:41:10 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-02-12 08:41:10 +0000 |
commit | 4dc346e8dc42f28d8add2277198ed934301bf806 (patch) | |
tree | 8345cbe489586fe64e375e566a66d8f381aef918 /test/CodeGen/struct.c | |
parent | 33b3d6b7c11ffc0611c4d219bd8a323e59bcc642 (diff) |
Test case for emitting va_arg as l-value; apparently I only *thought* I had committed this.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64368 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/struct.c')
-rw-r--r-- | test/CodeGen/struct.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/struct.c b/test/CodeGen/struct.c index 208cbd5ca9..4b0cc3e79e 100644 --- a/test/CodeGen/struct.c +++ b/test/CodeGen/struct.c @@ -157,6 +157,7 @@ int f14(int i, ...) { __builtin_va_list l; __builtin_va_start(l,i); a13 b = __builtin_va_arg(l, a13); + int c = __builtin_va_arg(l, a13).c; return b.b; } |