diff options
Diffstat (limited to 'test/CodeGen/union-init2.c')
-rw-r--r-- | test/CodeGen/union-init2.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/CodeGen/union-init2.c b/test/CodeGen/union-init2.c index ac469cd4b5..bd56f9e688 100644 --- a/test/CodeGen/union-init2.c +++ b/test/CodeGen/union-init2.c @@ -1,4 +1,7 @@ -// RUN: %clang_cc1 -emit-llvm %s -o - -triple i686-pc-linux-gnu | grep "bitcast (%0\* @r to %union.x\*), \[4 x i8\] undef" +// RUN: %clang_cc1 -emit-llvm %s -o - -triple i686-pc-linux-gnu | FileCheck %s // Make sure we generate something sane instead of a ptrtoint union x {long long b;union x* a;} r = {.a = &r}; + + +// CHECK: bitcast (%0* @r to %union.x*), [4 x i8] zero
\ No newline at end of file |