Testcase for PR4332.
authorDuncan Sands <baldrick@free.fr>
Sun, 14 Jun 2009 22:22:42 +0000 (22:22 +0000)
committerDuncan Sands <baldrick@free.fr>
Sun, 14 Jun 2009 22:22:42 +0000 (22:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73353 91177308-0d34-0410-b5e6-96231b3b80d8

test/FrontendC/2009-06-14-HighlyAligned.c [new file with mode: 0644]

diff --git a/test/FrontendC/2009-06-14-HighlyAligned.c b/test/FrontendC/2009-06-14-HighlyAligned.c
new file mode 100644 (file)
index 0000000..4678b75
--- /dev/null
@@ -0,0 +1,8 @@
+// RUN: %llvmgcc %s -S
+// PR4332
+
+static int highly_aligned __attribute__((aligned(4096)));
+
+int f() {
+       return highly_aligned;
+}