[cfe-commits] r69831 - in /cfe/trunk/test/PCH: external-defs.c external-defs.h
Douglas Gregor
dgregor at apple.com
Wed Apr 22 15:09:39 PDT 2009
Author: dgregor
Date: Wed Apr 22 17:09:39 2009
New Revision: 69831
URL: http://llvm.org/viewvc/llvm-project?rev=69831&view=rev
Log:
Clean up and de-XFAIL-ify PCH test for external definitions
Modified:
cfe/trunk/test/PCH/external-defs.c
cfe/trunk/test/PCH/external-defs.h
Modified: cfe/trunk/test/PCH/external-defs.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/external-defs.c?rev=69831&r1=69830&r2=69831&view=diff
==============================================================================
--- cfe/trunk/test/PCH/external-defs.c (original)
+++ cfe/trunk/test/PCH/external-defs.c Wed Apr 22 17:09:39 2009
@@ -3,8 +3,6 @@
// RUN: clang-cc -triple x86_64-apple-darwin9 -include-pch %t.pch -emit-llvm -o %t %s &&
// RUN: grep "@x = common global i32 0" %t | count 1 &&
-// RUN: grep "@y = global i32 17" %t | count 1 &&
-// RUN: grep "@d = .*1.742" %t | count 1 &&
// RUN: grep "@z" %t | count 0 &&
// RUN: grep "@x2 = global i32 19" %t | count 1 &&
@@ -19,5 +17,3 @@
struct S {
int x, y;
};
-
-// XFAIL
Modified: cfe/trunk/test/PCH/external-defs.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/external-defs.h?rev=69831&r1=69830&r2=69831&view=diff
==============================================================================
--- cfe/trunk/test/PCH/external-defs.h (original)
+++ cfe/trunk/test/PCH/external-defs.h Wed Apr 22 17:09:39 2009
@@ -4,10 +4,6 @@
int x;
int x2;
-// Definitions
-int y = 17;
-double d = 17.42;
-
// Should not show up
static int z;
More information about the cfe-commits
mailing list