summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/attr-aligned.c
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
commit87e7dea2cd267327cda7a85c81586756e1541493 (patch)
tree8955f9860cce196673fb8a35be4ec097a9940a2b /clang/test/Sema/attr-aligned.c
parent3fac6498e1540100c0d597d3662287e38e5826ff (diff)
downloadbcm5719-llvm-87e7dea2cd267327cda7a85c81586756e1541493.tar.gz
bcm5719-llvm-87e7dea2cd267327cda7a85c81586756e1541493.zip
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.
llvm-svn: 199141
Diffstat (limited to 'clang/test/Sema/attr-aligned.c')
-rw-r--r--clang/test/Sema/attr-aligned.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/attr-aligned.c b/clang/test/Sema/attr-aligned.c
index 92f2742d2f2..c094ff172dd 100644
--- a/clang/test/Sema/attr-aligned.c
+++ b/clang/test/Sema/attr-aligned.c
@@ -32,7 +32,7 @@ struct D { int member __attribute__((aligned(2))) __attribute__((packed)); } d;
char d1[__alignof__(d) == 2 ?: -1] = {0};
char d2[__alignof__(d.member) == 2 ?: -1] = {0};
-struct E { int member __attribute__((align(2))); } __attribute__((packed));
+struct E { int member __attribute__((aligned(2))); } __attribute__((packed));
struct E e;
char e1[__alignof__(e) == 2 ?: -1] = {0};
char e2[__alignof__(e.member) == 2 ?: -1] = {0};
OpenPOWER on IntegriCloud