summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSean Silva <chisophugis@gmail.com>2015-07-30 01:21:56 +0000
committerSean Silva <chisophugis@gmail.com>2015-07-30 01:21:56 +0000
commitaaa5cad1c8a97f8958d1a837e8e9b20f12420a26 (patch)
tree6541bb20e497beedbd80dbd2bfc256c9409fd61a /test
parent6e40e2c50f6dbb504be1603d9b42bac960f745a0 (diff)
downloadclang-aaa5cad1c8a97f8958d1a837e8e9b20f12420a26.tar.gz
Remove bad test.
We currently don't canonicalize paths in the preprocessed files. But we do when writing to PCH. This causes a discrepancy on Windows with the test below. This test fails even on unix if you change the test to use `%S//preprocess.h`. I am led to conclude that the invariant that this test was intending to test has not been upheld for a while (and may never have been). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@243602 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/PCH/preprocess.c8
-rw-r--r--test/PCH/preprocess.h7
2 files changed, 0 insertions, 15 deletions
diff --git a/test/PCH/preprocess.c b/test/PCH/preprocess.c
deleted file mode 100644
index 8bf841f17f..0000000000
--- a/test/PCH/preprocess.c
+++ /dev/null
@@ -1,8 +0,0 @@
-// Check that -E mode is invariant when using an implicit PCH.
-
-// RUN: %clang_cc1 -include %S/preprocess.h -E -o %t.orig %s
-// RUN: %clang_cc1 -emit-pch -o %t %S/preprocess.h
-// RUN: %clang_cc1 -include-pch %t -E -o %t.from_pch %s
-// RUN: diff %t.orig %t.from_pch
-
-a_typedef a_value;
diff --git a/test/PCH/preprocess.h b/test/PCH/preprocess.h
deleted file mode 100644
index 39fa006181..0000000000
--- a/test/PCH/preprocess.h
+++ /dev/null
@@ -1,7 +0,0 @@
-// Helper header for preprocess.c PCH test
-#ifndef PREPROCESS_H
-#define PREPROCESS_H
-
-typedef int a_typedef;
-
-#endif // PREPROCESS_H