Expand mingw-long-double.c to test for long double alignment.

llvm-svn: 245679
This commit is contained in:
Yaron Keren 2015-08-21 08:26:31 +00:00
parent 6a6232818d
commit cc84a1bea1
1 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,12 @@
// REQUIRES: x86-registered-target
// RUN: %clang_cc1 -triple i686-pc-windows-gnu -S %s -o - | FileCheck %s -check-prefix=CHECK_I686
// CHECK_I686: lda,12
// CHECK_I686: _lda,12
// CHECK_I686: _lds,16
// RUN: %clang_cc1 -triple x86_64-pc-windows-gnu -S %s -o - | FileCheck %s -check-prefix=CHECK_X86_64
// CHECK_X86_64: lda,16
// CHECK_X86_64: lds,32
long double lda;
struct {
char c;
long double ldb;
} lds;