diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-08-15 03:35:55 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-08-15 03:35:55 +0000 |
commit | cdcea87381a6ff1711d039dec46ec01a919acb8e (patch) | |
tree | f6f515000d9fe9e62817f307c7d2988f6636a4c5 /test/CodeGen/union-init2.c | |
parent | 25e695b2d574d919cc1bbddf3a2efe073d449b1c (diff) |
Make test a bit more precise.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79073 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/union-init2.c')
-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}; |