summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaOpenCL
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaOpenCL')
-rw-r--r--clang/test/SemaOpenCL/endian-attr.cl2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaOpenCL/endian-attr.cl b/clang/test/SemaOpenCL/endian-attr.cl
index e851cdf90b3..ba2f0e5c73e 100644
--- a/clang/test/SemaOpenCL/endian-attr.cl
+++ b/clang/test/SemaOpenCL/endian-attr.cl
@@ -6,4 +6,4 @@ 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}}
+void func() __attribute__((endian(host))); // expected-warning {{'endian' attribute only applies to variables}}
OpenPOWER on IntegriCloud