]> granicus.if.org Git - clang/commitdiff
Don't pass %s twice to clang -cc1.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 25 Jul 2013 13:45:29 +0000 (13:45 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 25 Jul 2013 13:45:29 +0000 (13:45 +0000)
The reason this clang invocation was failing is that it had two %s. We would
close stdout after the first one and report a fatal error when trying to
print the second.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187122 91177308-0d34-0410-b5e6-96231b3b80d8

test/PCH/irgen-rdar13114142.mm

index 8609138ae0a28afea677e9a47cdf5d02feb1e76c..7a9cfba942d8b1c956ca10cfb8300f4991a6e9c0 100644 (file)
@@ -1,5 +1,5 @@
 // RUN: %clang_cc1 %s -emit-pch -o %t.pch
-// RUN: not %clang_cc1 %s -emit-llvm %s -include-pch %t.pch -o - | FileCheck %s
+// RUN: %clang_cc1 %s -emit-llvm -include-pch %t.pch -o - | FileCheck %s
 
 #ifndef HEADER
 #define HEADER