diff options
author | Yaron Keren <yaron.keren@gmail.com> | 2015-08-21 08:26:31 +0000 |
---|---|---|
committer | Yaron Keren <yaron.keren@gmail.com> | 2015-08-21 08:26:31 +0000 |
commit | cc84a1bea134e6e6d5aba3f6611947dafa8bb519 (patch) | |
tree | e0f94143446ac739c7d5f1bbc9efe8b4fbf5cf3a | |
parent | 6a6232818d778daba8a8d38bb17722bde5f95e06 (diff) | |
download | bcm5719-llvm-cc84a1bea134e6e6d5aba3f6611947dafa8bb519.tar.gz bcm5719-llvm-cc84a1bea134e6e6d5aba3f6611947dafa8bb519.zip |
Expand mingw-long-double.c to test for long double alignment.
llvm-svn: 245679
-rw-r--r-- | clang/test/CodeGen/mingw-long-double.c (renamed from clang/test/CodeGen/mingw-long-double-size.c) | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/clang/test/CodeGen/mingw-long-double-size.c b/clang/test/CodeGen/mingw-long-double.c index dd1ffcb5ed8..a29662c8e7d 100644 --- a/clang/test/CodeGen/mingw-long-double-size.c +++ b/clang/test/CodeGen/mingw-long-double.c @@ -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; |