summaryrefslogtreecommitdiff
path: root/test/Parser/brackets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/brackets.cpp')
-rw-r--r--test/Parser/brackets.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Parser/brackets.cpp b/test/Parser/brackets.cpp
index 6963a75ab399..415cbdda83f5 100644
--- a/test/Parser/brackets.cpp
+++ b/test/Parser/brackets.cpp
@@ -15,10 +15,10 @@ void test1() {
// CHECK: fix-it:{{.*}}:{[[@LINE-6]]:10-[[@LINE-6]]:10}:"[]"
int c = a[0];
- int d = b[0]; // No undeclared identifer error here.
+ int d = b[0]; // No undeclared identifier error here.
int *e = a;
- int *f = b; // No undeclared identifer error here.
+ int *f = b; // No undeclared identifier error here.
int[1] g[2];
// expected-error@-1{{brackets are not allowed here; to declare an array, place the brackets after the name}}