diff options
-rw-r--r-- | test/CodeGen/union-init2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/union-init2.c b/test/CodeGen/union-init2.c index b167f8026a..184d75f471 100644 --- a/test/CodeGen/union-init2.c +++ b/test/CodeGen/union-init2.c @@ -1,4 +1,4 @@ -// RUN: clang-cc -emit-llvm %s -o - | not grep ptrtoint +// RUN: clang-cc -emit-llvm %s -o - -triple i686-pc-linux-gnu | grep "bitcast (%0\* @r to %union.x\*), \[4 x i8\] zeroinitializer" // Make sure we generate something sane instead of a ptrtoint union x {long long b;union x* a;} r = {.a = &r}; |