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 | 53fa04909cd51ee3cbcf09ad4f8dcb9b03d3f199 (patch) | |
tree | 923b389404e28498cf67e0cb89078ebae7d08b78 /clang/test/SemaCXX/dcl_init_aggr.cpp | |
parent | 959cf8aede1755fb7df3aafd7dff9fa9ce172f8f (diff) | |
download | bcm5719-llvm-53fa04909cd51ee3cbcf09ad4f8dcb9b03d3f199.tar.gz bcm5719-llvm-53fa04909cd51ee3cbcf09ad4f8dcb9b03d3f199.zip |
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.
llvm-svn: 113090
Diffstat (limited to 'clang/test/SemaCXX/dcl_init_aggr.cpp')
-rw-r--r-- | clang/test/SemaCXX/dcl_init_aggr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/dcl_init_aggr.cpp b/clang/test/SemaCXX/dcl_init_aggr.cpp index 8b286634446..2dbd381e4db 100644 --- a/clang/test/SemaCXX/dcl_init_aggr.cpp +++ b/clang/test/SemaCXX/dcl_init_aggr.cpp @@ -120,4 +120,4 @@ u u1 = { 1 }; u u2 = u1; u u3 = 1; // expected-error{{no viable conversion}} u u4 = { 0, "asdf" }; // expected-error{{excess elements in union initializer}} -u u5 = { "asdf" }; // expected-error{{cannot initialize a member subobject of type 'int' with an lvalue of type 'char const [5]'}} +u u5 = { "asdf" }; // expected-error{{cannot initialize a member subobject of type 'int' with an lvalue of type 'const char [5]'}} |