From ae79fdf170eab5b9fa3a5bb81bf9ad8c6408d592 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Wed, 27 Apr 2011 04:02:56 +0000 Subject: [PATCH] Fix test llvm-svn: 130285 --- clang/test/FixIt/typo.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/test/FixIt/typo.m b/clang/test/FixIt/typo.m index 28c0529af477..ecb207ee3917 100644 --- a/clang/test/FixIt/typo.m +++ b/clang/test/FixIt/typo.m @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -DNON_FIXITS -verify %s // RUN: cp %s %t -// RUN: %clang_cc1 -x objective-c -fsyntax-only -fobjc-nonfragile-abi -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fixit %t || true +// RUN: not %clang_cc1 -x objective-c -fsyntax-only -fobjc-nonfragile-abi -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fixit %t // RUN: %clang_cc1 -x objective-c -fsyntax-only -fobjc-nonfragile-abi -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -pedantic -Werror %t // RUN: grep "@implementation Sub3" %t @@ -9,7 +9,7 @@ @end void test() { - NSstring *str = @"A string"; // expected-error{{use of undeclared identifier 'NSstring'; did you mean 'NSString'?}} + NSstring *str = @"A string"; // expected-error{{unknown type name 'NSstring'; did you mean 'NSString'?}} } @protocol P1