diff options
Diffstat (limited to 'clang/test/SemaCUDA/bad-attributes.cu')
-rw-r--r-- | clang/test/SemaCUDA/bad-attributes.cu | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/SemaCUDA/bad-attributes.cu b/clang/test/SemaCUDA/bad-attributes.cu index 4cb43e240b0..f3e1688462d 100644 --- a/clang/test/SemaCUDA/bad-attributes.cu +++ b/clang/test/SemaCUDA/bad-attributes.cu @@ -42,6 +42,8 @@ __constant__ __shared__ int z8; // expected-error {{attributes are not compatib __shared__ __device__ int z9; __shared__ __constant__ int z10; // expected-error {{attributes are not compatible}} // expected-note@-1 {{conflicting attribute is here}} +__constant__ __shared__ int z10a; // expected-error {{attributes are not compatible}} +// expected-note@-1 {{conflicting attribute is here}} __global__ __device__ void z11(); // expected-error {{attributes are not compatible}} // expected-note@-1 {{conflicting attribute is here}} |