aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/compound.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/compound.c')
-rw-r--r--test/CodeGen/compound.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/CodeGen/compound.c b/test/CodeGen/compound.c
index 0909565631..c8afceef76 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 @@ void foo(char *strbuf) {
int stufflen = 4;
strbuf += stufflen;
}
+
+
+// Aggregate cast to void
+union uu { int a;}; void f(union uu p) { (void) p;}
+