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.

llvm-svn: 187122
This commit is contained in:
Rafael Espindola 2013-07-25 13:45:29 +00:00
parent 4d90f0f2c3
commit db267e2a7c
1 changed files with 1 additions and 1 deletions

View 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