From: Eli Friedman Date: Sat, 15 Aug 2009 03:35:55 +0000 (+0000) Subject: Make test a bit more precise. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cdcea87381a6ff1711d039dec46ec01a919acb8e;p=clang Make test a bit more precise. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79073 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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};