diff options
Diffstat (limited to 'test/Sema/array-constraint.c')
-rw-r--r-- | test/Sema/array-constraint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/array-constraint.c b/test/Sema/array-constraint.c index 9fcac25abe..fe7fdc7115 100644 --- a/test/Sema/array-constraint.c +++ b/test/Sema/array-constraint.c @@ -46,7 +46,7 @@ typedef int TA[I]; // expected-error {{variable length array declaration not all void strFunc(char *); // expected-note{{passing argument to parameter here}} const char staticAry[] = "test"; void checkStaticAry() { - strFunc(staticAry); // expected-warning{{passing 'char const [5]' to parameter of type 'char *' discards qualifiers}} + strFunc(staticAry); // expected-warning{{passing 'const char [5]' to parameter of type 'char *' discards qualifiers}} } |