From 4dc346e8dc42f28d8add2277198ed934301bf806 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 12 Feb 2009 08:41:10 +0000 Subject: [PATCH] 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 --- test/CodeGen/struct.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.40.0