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 | eef883327a4a029ffc4717a6730d30fce002afe4 (patch) | |
| tree | d381d592f0e8646b27616d7877f4673906e5e81b /clang/test/CodeGen/struct.c | |
| parent | cbc2491deb3c2b6e945f0d44a643ab7a4fa8fa95 (diff) | |
| download | bcm5719-llvm-eef883327a4a029ffc4717a6730d30fce002afe4.tar.gz bcm5719-llvm-eef883327a4a029ffc4717a6730d30fce002afe4.zip | |
Test case for emitting va_arg as l-value; apparently I only *thought* I had committed this.
llvm-svn: 64368
Diffstat (limited to 'clang/test/CodeGen/struct.c')
| -rw-r--r-- | clang/test/CodeGen/struct.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/CodeGen/struct.c b/clang/test/CodeGen/struct.c index 208cbd5ca9d..4b0cc3e79ea 100644 --- a/clang/test/CodeGen/struct.c +++ b/clang/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; } |

