Changes in directory llvm/test/Regression/CFrontend:
2006-05-01-AppleAlignmentPragma.c added (r1.1) --- Log message: New testcase that crashes the new CFE. --- Diffs of the changes: (+12 -0) 2006-05-01-AppleAlignmentPragma.c | 12 ++++++++++++ 1 files changed, 12 insertions(+) Index: llvm/test/Regression/CFrontend/2006-05-01-AppleAlignmentPragma.c diff -c /dev/null llvm/test/Regression/CFrontend/2006-05-01-AppleAlignmentPragma.c:1.1 *** /dev/null Mon May 1 18:19:05 2006 --- llvm/test/Regression/CFrontend/2006-05-01-AppleAlignmentPragma.c Mon May 1 18:18:55 2006 *************** *** 0 **** --- 1,12 ---- + // RUN: %llvmgcc %s -S -o - + + #ifdef __APPLE__ + /* test that X is layed out correctly when this pragma is used. */ + #pragma options align=mac68k + #endif + + struct S { + unsigned A; + unsigned short B; + } X; + _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits