implement codegen support for aggregates casted to void.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47226 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/compound.c b/test/CodeGen/compound.c
index 0909565..c8afcee 100644
--- a/test/CodeGen/compound.c
+++ b/test/CodeGen/compound.c
@@ -1,4 +1,4 @@
-// RUN: clang %s -emit-llvm
+// RUN: clang < %s -emit-llvm
int A;
long long B;
int C;
@@ -18,3 +18,8 @@
int stufflen = 4;
strbuf += stufflen;
}
+
+
+// Aggregate cast to void
+union uu { int a;}; void f(union uu p) { (void) p;}
+