diff options
| author | Andrey Bokhanko <andreybokhanko@gmail.com> | 2016-05-06 11:47:55 +0000 |
|---|---|---|
| committer | Andrey Bokhanko <andreybokhanko@gmail.com> | 2016-05-06 11:47:55 +0000 |
| commit | ba0d7540e3fd6540c7067ad1fa2a20f205d2c8c0 (patch) | |
| tree | 7c46e4f472861f49066d71401da4eeacd7410984 /clang/test/Sema/invalid-assignment-constant-address-space.c | |
| parent | 5f10a137d070a07ee6712facc5d0855aa6148df8 (diff) | |
| download | bcm5719-llvm-ba0d7540e3fd6540c7067ad1fa2a20f205d2c8c0.tar.gz bcm5719-llvm-ba0d7540e3fd6540c7067ad1fa2a20f205d2c8c0.zip | |
[MSVC] Implementation of __unaligned as a proper type qualifier
This patch implements __unaligned (MS extension) as a proper type qualifier
(before that, it was implemented as an ignored attribute).
It also fixes PR27367.
Differential Revision: http://reviews.llvm.org/D19654
llvm-svn: 268727
Diffstat (limited to 'clang/test/Sema/invalid-assignment-constant-address-space.c')
| -rw-r--r-- | clang/test/Sema/invalid-assignment-constant-address-space.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/invalid-assignment-constant-address-space.c b/clang/test/Sema/invalid-assignment-constant-address-space.c index de2af64d00e..77d6b331c20 100644 --- a/clang/test/Sema/invalid-assignment-constant-address-space.c +++ b/clang/test/Sema/invalid-assignment-constant-address-space.c @@ -1,6 +1,6 @@ // RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only -#define OPENCL_CONSTANT 16776962 +#define OPENCL_CONSTANT 8388354 int __attribute__((address_space(OPENCL_CONSTANT))) c[3] = {0}; void foo() { |

