summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2011-04-20 12:08:11 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2011-04-20 12:08:11 +0000
commit67e74f6f1a24247bfcd3d6c165a2d6cd45c83b06 (patch)
treec3d61d977c76c8722c29a2cd56835c4fd41b3e7b /test
parentc8ff7e933d81716dc8ac0cd380389f4269427549 (diff)
Support compile-time constant expressions as arguments to gcc-style attributes
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1641 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'test')
-rw-r--r--test/regression/attribs1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/regression/attribs1.c b/test/regression/attribs1.c
index 21d7556..a02f718 100644
--- a/test/regression/attribs1.c
+++ b/test/regression/attribs1.c
@@ -8,7 +8,7 @@
/* Alignment */
char filler1 = 1;
-__attribute((__aligned__(16))) int a = 1234;
+__attribute((__aligned__(1<<4))) int a = 1234;
char filler2 = 1;
__attribute((__aligned__(8))) char b = 'b';