commit | cfb41daf8234b7b916a3011ca7db880c85770cba | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Thu Feb 12 08:41:10 2009 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Thu Feb 12 08:41:10 2009 +0000 |
tree | 8345cbe489586fe64e375e566a66d8f381aef918 | |
parent | 5a39241da1da71e0ff0a7044a5bade35cd3ff120 [diff] [blame] |
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
diff --git a/test/CodeGen/struct.c b/test/CodeGen/struct.c index 208cbd5..4b0cc3e 100644 --- a/test/CodeGen/struct.c +++ b/test/CodeGen/struct.c
@@ -157,6 +157,7 @@ __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; }