summaryrefslogtreecommitdiffstats
path: root/test/SemaOpenCL/endian-attr.cl
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaOpenCL/endian-attr.cl')
-rw-r--r--test/SemaOpenCL/endian-attr.cl8
1 files changed, 1 insertions, 7 deletions
diff --git a/test/SemaOpenCL/endian-attr.cl b/test/SemaOpenCL/endian-attr.cl
index e851cdf..f776643 100644
--- a/test/SemaOpenCL/endian-attr.cl
+++ b/test/SemaOpenCL/endian-attr.cl
@@ -1,9 +1,3 @@
// RUN: %clang_cc1 -verify %s
-constant long a __attribute__((endian(host))) = 100;
-
-constant long b __attribute__((endian(device))) = 100;
-
-constant long c __attribute__((endian(none))) = 100; // expected-warning {{unknown endian 'none'}}
-
-void func() __attribute__((endian(host))); // expected-warning {{endian attribute only applies to variables}}
+constant long a __attribute__((endian(host))) = 100; // expected-warning {{unknown attribute 'endian' ignored}}
OpenPOWER on IntegriCloud