From: Daniel Dunbar Date: Thu, 12 Feb 2009 08:41:10 +0000 (+0000) Subject: Test case for emitting va_arg as l-value; apparently I only *thought* I had committed... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4dc346e8dc42f28d8add2277198ed934301bf806;p=clang 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 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; }