Skip to content
Snippets Groups Projects
Commit bbcf77fd authored by Rafael Espindola's avatar Rafael Espindola
Browse files

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
parent e865cc5e
No related branches found
No related tags found
No related merge requests found
// 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment