From: Rafael Espindola Date: Thu, 25 Jul 2013 13:45:29 +0000 (+0000) Subject: Don't pass %s twice to clang -cc1. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bbcf77fd018e07161c431690beeba6963f42b3de;p=clang Don't pass %s twice to clang -cc1. 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 --- diff --git a/test/PCH/irgen-rdar13114142.mm b/test/PCH/irgen-rdar13114142.mm index 8609138ae0..7a9cfba942 100644 --- a/test/PCH/irgen-rdar13114142.mm +++ b/test/PCH/irgen-rdar13114142.mm @@ -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