diff options
author | Devang Patel <dpatel@apple.com> | 2007-10-31 21:02:10 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-10-31 21:02:10 +0000 |
commit | 9544ff2d96a5630b4219bbda41bb7476f01d9bf1 (patch) | |
tree | ce5b55d05e760a5abcd9dbd68e178a20a898d906 | |
parent | 9e124d96ab4af601c943da5c15c616d5ddb26237 (diff) |
New test to verify llvm struct layout.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43577 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/struct-x86-darwin.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/struct-x86-darwin.c b/test/CodeGen/struct-x86-darwin.c new file mode 100644 index 0000000000..71359bf535 --- /dev/null +++ b/test/CodeGen/struct-x86-darwin.c @@ -0,0 +1,6 @@ +// RUN: clang %s -emit-llvm | grep "STest1 = type { i32, \[4 x i16\], double }" +// Test struct layout for x86-darwin target +// FIXME : Enable this test for x86-darwin only. At the moment clang hard codes +// x86-darwin as the target + +struct STest1 {int x; short y[4]; double z; } st1; |