aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-04-27 04:02:56 +0000
committerDouglas Gregor <dgregor@apple.com>2011-04-27 04:02:56 +0000
commit6add6fbc5997c42fb014969b68770b1b29aa318b (patch)
tree44843aee7023a9f152b962bc394ed3ad2dde77f7
parent27766d2501259c7b12b1056e0c491a927b304e10 (diff)
Fix test
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130285 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/FixIt/typo.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/FixIt/typo.m b/test/FixIt/typo.m
index 28c0529af4..ecb207ee39 100644
--- a/test/FixIt/typo.m
+++ b/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