summaryrefslogtreecommitdiff
path: root/test/SemaTemplate
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-01-13 21:30:03 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-01-13 21:30:03 +0000
commitab76d2f8b379622b6a4d835377dd9ef9ba05982b (patch)
treed011abc9033c3e9d2a7a26ae245bc23cb7e4c0db /test/SemaTemplate
parentd03479ea282c143eb21112762331764241ab371c (diff)
downloadclang-ab76d2f8b379622b6a4d835377dd9ef9ba05982b.tar.gz
There is no such thing as __attribute__((align)); that's a __declspec attribute. Fixing these test cases to use the proper spelling for their syntax.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199141 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaTemplate')
-rw-r--r--test/SemaTemplate/attributes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaTemplate/attributes.cpp b/test/SemaTemplate/attributes.cpp
index 5a06a706aa..1d46058b01 100644
--- a/test/SemaTemplate/attributes.cpp
+++ b/test/SemaTemplate/attributes.cpp
@@ -22,7 +22,7 @@ namespace attribute_aligned {
template<unsigned Size, unsigned Align>
class my_aligned_storage
{
- __attribute__((align(Align))) char storage[Size];
+ __attribute__((aligned(Align))) char storage[Size];
};
template<typename T>