New test to verify llvm struct layout.

llvm-svn: 43577
This commit is contained in:
Devang Patel 2007-10-31 21:02:10 +00:00
parent 6029cbf872
commit cc4c2930ae
1 changed files with 6 additions and 0 deletions

View File

@ -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;