summaryrefslogtreecommitdiffstats
path: root/test/SemaOpenCL
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2013-08-31 01:11:41 +0000
committerAaron Ballman <aaron@aaronballman.com>2013-08-31 01:11:41 +0000
commit624421f98d8fcb8ed8ebc406da41217682159aa8 (patch)
tree579a2bfb280258132ff6f0ebdc2828423c082576 /test/SemaOpenCL
parent7f8527bd9284c049b6ff2321952af5057814fa48 (diff)
Consolidating the notion of a GNU attribute parameter with the attribute argument list.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189711 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaOpenCL')
-rw-r--r--test/SemaOpenCL/endian-attr.cl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaOpenCL/endian-attr.cl b/test/SemaOpenCL/endian-attr.cl
index e851cdf90b..ba2f0e5c73 100644
--- a/test/SemaOpenCL/endian-attr.cl
+++ b/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}}