[cfe-commits] r130285 - /cfe/trunk/test/FixIt/typo.m

Douglas Gregor dgregor at apple.com
Tue Apr 26 21:02:56 PDT 2011


Author: dgregor
Date: Tue Apr 26 23:02:56 2011
New Revision: 130285

URL: http://llvm.org/viewvc/llvm-project?rev=130285&view=rev
Log:
Fix test

Modified:
    cfe/trunk/test/FixIt/typo.m

Modified: cfe/trunk/test/FixIt/typo.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/FixIt/typo.m?rev=130285&r1=130284&r2=130285&view=diff
==============================================================================
--- cfe/trunk/test/FixIt/typo.m (original)
+++ cfe/trunk/test/FixIt/typo.m Tue Apr 26 23:02:56 2011
@@ -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





More information about the cfe-commits mailing list