summaryrefslogtreecommitdiffstats
path: root/test/SemaObjCXX/objc-container-subscripting.mm
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2012-03-28 21:13:53 +0000
committerFariborz Jahanian <fjahanian@apple.com>2012-03-28 21:13:53 +0000
commitb684a42154a555206a33ac47a52ad2a306cfa2b4 (patch)
tree1238e744b630d5d4f1ebaaaf607b919e08d00cf2 /test/SemaObjCXX/objc-container-subscripting.mm
parentf962eb4dde12366c8617d0b9958b9ed70a328f21 (diff)
Fix typo in my last patch.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153602 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaObjCXX/objc-container-subscripting.mm')
-rw-r--r--test/SemaObjCXX/objc-container-subscripting.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjCXX/objc-container-subscripting.mm b/test/SemaObjCXX/objc-container-subscripting.mm
index 7591c3b098..c835cbe53c 100644
--- a/test/SemaObjCXX/objc-container-subscripting.mm
+++ b/test/SemaObjCXX/objc-container-subscripting.mm
@@ -32,8 +32,8 @@ template void test_dictionary_subscripts(NSMutableDictionary*, id, int); // expe
template<typename T, typename U, typename O>
void test_array_subscripts(T base, U index, O obj) {
- base[index] = obj; // expected-error {{indexing expression is invalid because subscript type 'double' is not an intergal or objective-C pointer type}}
- obj = base[index]; // expected-error {{indexing expression is invalid because subscript type 'double' is not an intergal or objective-C pointer type}}
+ base[index] = obj; // expected-error {{indexing expression is invalid because subscript type 'double' is not an integral or objective-C pointer type}}
+ obj = base[index]; // expected-error {{indexing expression is invalid because subscript type 'double' is not an integral or objective-C pointer type}}
}
template void test_array_subscripts(NSMutableArray *, int, id);