summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-06-14 22:22:42 +0000
committerDuncan Sands <baldrick@free.fr>2009-06-14 22:22:42 +0000
commitb6495b26e52629572ad9ee37cd5e66481e4da808 (patch)
tree29cc6145cf7f3cbb5cf32a32a0e0ee323102ccec
parent6282b3cff827e4981581db7cba0e6d71181f3eec (diff)
downloadbcm5719-llvm-b6495b26e52629572ad9ee37cd5e66481e4da808.tar.gz
bcm5719-llvm-b6495b26e52629572ad9ee37cd5e66481e4da808.zip
Testcase for PR4332.
llvm-svn: 73353
-rw-r--r--llvm/test/FrontendC/2009-06-14-HighlyAligned.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/FrontendC/2009-06-14-HighlyAligned.c b/llvm/test/FrontendC/2009-06-14-HighlyAligned.c
new file mode 100644
index 00000000000..4678b75b6da
--- /dev/null
+++ b/llvm/test/FrontendC/2009-06-14-HighlyAligned.c
@@ -0,0 +1,8 @@
+// RUN: %llvmgcc %s -S
+// PR4332
+
+static int highly_aligned __attribute__((aligned(4096)));
+
+int f() {
+ return highly_aligned;
+}
OpenPOWER on IntegriCloud