diff options
author | Duncan Sands <baldrick@free.fr> | 2009-06-14 22:22:42 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2009-06-14 22:22:42 +0000 |
commit | ec08da01fca73fa040b418a737f4c04ccf866c81 (patch) | |
tree | a5d99f6bd3ecf7a2b88477d1ea62cbb77bfb3c52 | |
parent | 90f95f88c6ce09c6744777dc9d140c3c77203b92 (diff) |
Testcase for PR4332.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73353 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/FrontendC/2009-06-14-HighlyAligned.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/FrontendC/2009-06-14-HighlyAligned.c b/test/FrontendC/2009-06-14-HighlyAligned.c new file mode 100644 index 0000000000..4678b75b6d --- /dev/null +++ b/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; +} |