r234621 - Testcase for the previous commit.
Rafael Espindola
rafael.espindola at gmail.com
Fri Apr 10 11:18:17 PDT 2015
Author: rafael
Date: Fri Apr 10 13:18:17 2015
New Revision: 234621
URL: http://llvm.org/viewvc/llvm-project?rev=234621&view=rev
Log:
Testcase for the previous commit.
Sorry, fogot to "git add" the previous time.
Added:
cfe/trunk/test/PCH/emit-pth.c
Added: cfe/trunk/test/PCH/emit-pth.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/emit-pth.c?rev=234621&view=auto
==============================================================================
--- cfe/trunk/test/PCH/emit-pth.c (added)
+++ cfe/trunk/test/PCH/emit-pth.c Fri Apr 10 13:18:17 2015
@@ -0,0 +1,7 @@
+// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-pth -o %t1 %s
+// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-pth -o - %s > %t2
+// RUN: cmp %t1 %t2
+// RUN: not %clang_cc1 -triple i386-unknown-unknown -emit-pth -o - %s 2>&1 | \
+// RUN: FileCheck %s
+
+// CHECK: PTH requires a seekable file for output!
More information about the cfe-commits
mailing list