From: Kaelyn Uhrain Date: Thu, 25 Oct 2012 19:43:57 +0000 (+0000) Subject: Move the input files for test/PCH/badpch.c under test/PCH/Inputs/. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ebcb468a75b36ee5d132a942caa9a27fe0839e3b;p=clang Move the input files for test/PCH/badpch.c under test/PCH/Inputs/. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166711 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/PCH/badpch-dir.h.gch/.keep b/test/PCH/Inputs/badpch-dir.h.gch/.keep similarity index 100% rename from test/PCH/badpch-dir.h.gch/.keep rename to test/PCH/Inputs/badpch-dir.h.gch/.keep diff --git a/test/PCH/badpch-empty.h.gch b/test/PCH/Inputs/badpch-empty.h.gch similarity index 100% rename from test/PCH/badpch-empty.h.gch rename to test/PCH/Inputs/badpch-empty.h.gch diff --git a/test/PCH/badpch.c b/test/PCH/badpch.c index dfe367786d..f34e3d6a15 100644 --- a/test/PCH/badpch.c +++ b/test/PCH/badpch.c @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -fsyntax-only -include-pch %S/badpch-empty.h.gch %s 2>&1 | FileCheck -check-prefix=CHECK-EMPTY %s -// RUN: %clang_cc1 -fsyntax-only -include-pch %S/badpch-dir.h.gch %s 2>&1 | FileCheck -check-prefix=CHECK-DIR %s +// RUN: %clang_cc1 -fsyntax-only -include-pch %S/Inputs/badpch-empty.h.gch %s 2>&1 | FileCheck -check-prefix=CHECK-EMPTY %s +// RUN: %clang_cc1 -fsyntax-only -include-pch %S/Inputs/badpch-dir.h.gch %s 2>&1 | FileCheck -check-prefix=CHECK-DIR %s // The purpose of this test is to verify that various invalid PCH files are // reported as such.