diff --git a/clang/test/CodeGen/mingw-long-double-size.c b/clang/test/CodeGen/mingw-long-double.c similarity index 70% rename from clang/test/CodeGen/mingw-long-double-size.c rename to clang/test/CodeGen/mingw-long-double.c index dd1ffcb5ed8d..a29662c8e7db 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;