diff options
author | Chris Lattner <sabre@nondot.org> | 2010-09-05 00:04:01 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-09-05 00:04:01 +0000 |
commit | 58f9e13e87e57236fee4b914eea9be6f92a1c345 (patch) | |
tree | 9002ed9afacc02f28bce930a861d0a4260772938 /test/Sema/array-constraint.c | |
parent | 59742de0f9d4fbd421b69ed0c1b6c7a6d83339fb (diff) |
make clang print types as "const int *" instead of "int const*",
which is should have done from the beginning. As usual, the most
fun with this sort of change is updating all the testcases.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113090 91177308-0d34-0410-b5e6-96231b3b80d8
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}} } |