summaryrefslogtreecommitdiff
path: root/test/FrontendC/vla-2.c
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-07-21 04:51:24 +0000
committerEric Christopher <echristo@apple.com>2010-07-21 04:51:24 +0000
commit302313fc0923fb3cc142e3a37c54e5f0f5ebdaa4 (patch)
treef1837f846681d3ef7d76d7ff77be5f55cac400a4 /test/FrontendC/vla-2.c
parent7d7d15a159aaddeafe243a87ef3dbf9c9d220f49 (diff)
downloadllvm-302313fc0923fb3cc142e3a37c54e5f0f5ebdaa4.tar.gz
llvm-302313fc0923fb3cc142e3a37c54e5f0f5ebdaa4.tar.bz2
llvm-302313fc0923fb3cc142e3a37c54e5f0f5ebdaa4.tar.xz
Update this to use a "valid" alignment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108985 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC/vla-2.c')
-rw-r--r--test/FrontendC/vla-2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/FrontendC/vla-2.c b/test/FrontendC/vla-2.c
index d6dda9371f..555cfc7892 100644
--- a/test/FrontendC/vla-2.c
+++ b/test/FrontendC/vla-2.c
@@ -1,10 +1,10 @@
-// RUN: %llvmgcc -std=gnu99 %s -S -o - | grep ".*alloca.*align 32"
+// RUN: %llvmgcc -std=gnu99 %s -S -o - | grep ".*alloca.*align 16"
extern void bar(int[]);
void foo(int a)
{
- int var[a] __attribute__((__aligned__(32)));
+ int var[a] __attribute__((__aligned__(16)));
bar(var);
return;
}