From: Douglas Gregor Date: Fri, 1 Jan 2010 17:23:17 +0000 (+0000) Subject: Fix typo test RUN lines X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=736fc1b5884158387bfc49b8958ebc07b526d1da;p=clang Fix typo test RUN lines git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92396 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/FixIt/typo.c b/test/FixIt/typo.c index 0777551780..d36e769ed0 100644 --- a/test/FixIt/typo.c +++ b/test/FixIt/typo.c @@ -1,5 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s -// RUN: %clang_cc1 -fsyntax-only -fixit -o - | %clang_cc1 -fsyntax-only -pedantic -Werror -x c - +// RUN: %clang_cc1 -fsyntax-only -fixit -o - %s | %clang_cc1 -fsyntax-only -pedantic -Werror -x c - struct Point { float x, y; }; diff --git a/test/FixIt/typo.cpp b/test/FixIt/typo.cpp index 12bfc712f3..581cd25f9a 100644 --- a/test/FixIt/typo.cpp +++ b/test/FixIt/typo.cpp @@ -1,5 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s -// RUN: %clang_cc1 -fsyntax-only -fixit -o - | %clang_cc1 -fsyntax-only -pedantic -Werror -x c++ - +// RUN: %clang_cc1 -fsyntax-only -fixit -o - %s | %clang_cc1 -fsyntax-only -pedantic -Werror -x c++ - namespace std { template class basic_string { int find(const char *substr); diff --git a/test/FixIt/typo.m b/test/FixIt/typo.m index 251684949e..f88d315da7 100644 --- a/test/FixIt/typo.m +++ b/test/FixIt/typo.m @@ -1,5 +1,5 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s -// RUN: %clang_cc1 -fsyntax-only -fixit -o - | %clang_cc1 -fsyntax-only -pedantic -Werror -x objective-c - +// RUN: %clang_cc1 -fsyntax-only -fixit -o - %s | %clang_cc1 -fsyntax-only -pedantic -Werror -x objective-c - @interface NSString @end