aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-04-22 22:09:39 +0000
committerDouglas Gregor <dgregor@apple.com>2009-04-22 22:09:39 +0000
commit0838ba65aca1651db5374d6fdb9e6a7556e815ad (patch)
tree0adeaddc9ccb39dc8b8346f3be2e481655d81cb7
parente24f27f0d804daea005a066adbc98dfc942d1118 (diff)
Clean up and de-XFAIL-ify PCH test for external definitions
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69831 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/PCH/external-defs.c4
-rw-r--r--test/PCH/external-defs.h4
2 files changed, 0 insertions, 8 deletions
diff --git a/test/PCH/external-defs.c b/test/PCH/external-defs.c
index 251a10d9ce..b7eb700e6b 100644
--- a/test/PCH/external-defs.c
+++ b/test/PCH/external-defs.c
@@ -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 @@ int incomplete_array3[];
struct S {
int x, y;
};
-
-// XFAIL
diff --git a/test/PCH/external-defs.h b/test/PCH/external-defs.h
index bb51a9d64b..657b47bcc1 100644
--- a/test/PCH/external-defs.h
+++ b/test/PCH/external-defs.h
@@ -4,10 +4,6 @@
int x;
int x2;
-// Definitions
-int y = 17;
-double d = 17.42;
-
// Should not show up
static int z;