summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/objc-container-subscripting-2.m
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-07-19 18:10:18 +0000
committerJordan Rose <jordan_rose@apple.com>2012-07-19 18:10:18 +0000
commit96c49686b9c9fd081e67e36a73bd9cf3ad205801 (patch)
treec62f383b14c2bf2733d1d3f9d6d292939fcbff2b /clang/test/SemaObjC/objc-container-subscripting-2.m
parent58bbe4206fd18691a264a1a0e4e66ac2ba365c4e (diff)
downloadbcm5719-llvm-96c49686b9c9fd081e67e36a73bd9cf3ad205801.tar.gz
bcm5719-llvm-96c49686b9c9fd081e67e36a73bd9cf3ad205801.zip
Capitalize "Objective-C" and "C++" in user-facing contexts.
No functionality change. llvm-svn: 160516
Diffstat (limited to 'clang/test/SemaObjC/objc-container-subscripting-2.m')
-rw-r--r--clang/test/SemaObjC/objc-container-subscripting-2.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaObjC/objc-container-subscripting-2.m b/clang/test/SemaObjC/objc-container-subscripting-2.m
index 3c0081b72a7..62320fcebb7 100644
--- a/clang/test/SemaObjC/objc-container-subscripting-2.m
+++ b/clang/test/SemaObjC/objc-container-subscripting-2.m
@@ -16,8 +16,8 @@ typedef unsigned int size_t;
id func() {
NSMutableArray *array;
float f;
- array[f] = array; // expected-error {{indexing expression is invalid because subscript type 'float' is not an integral or objective-C pointer type}}
- return array[3.14]; // expected-error {{indexing expression is invalid because subscript type 'double' is not an integral or objective-C pointer type}}
+ array[f] = array; // expected-error {{indexing expression is invalid because subscript type 'float' is not an integral or Objective-C pointer type}}
+ return array[3.14]; // expected-error {{indexing expression is invalid because subscript type 'double' is not an integral or Objective-C pointer type}}
}
void test_unused() {
OpenPOWER on IntegriCloud