summaryrefslogtreecommitdiff
path: root/test/Sema/address_spaces.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-05 00:04:01 +0000
committerChris Lattner <sabre@nondot.org>2010-09-05 00:04:01 +0000
commit58f9e13e87e57236fee4b914eea9be6f92a1c345 (patch)
tree9002ed9afacc02f28bce930a861d0a4260772938 /test/Sema/address_spaces.c
parent59742de0f9d4fbd421b69ed0c1b6c7a6d83339fb (diff)
downloadclang-58f9e13e87e57236fee4b914eea9be6f92a1c345.tar.gz
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/address_spaces.c')
-rw-r--r--test/Sema/address_spaces.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/address_spaces.c b/test/Sema/address_spaces.c
index 23c1405011..538deda0c2 100644
--- a/test/Sema/address_spaces.c
+++ b/test/Sema/address_spaces.c
@@ -37,6 +37,6 @@ struct _st {
__attribute__((address_space(256))) void * * const base = 0;
void * get_0(void) {
return base[0]; // expected-error {{illegal implicit conversion between two pointers with different address spaces}} \
- expected-warning {{returning 'void __attribute__((address_space(256))) *' from a function with result type 'void *' discards qualifiers}}
+ expected-warning {{returning '__attribute__((address_space(256))) void *' from a function with result type 'void *' discards qualifiers}}
}