diff options
Diffstat (limited to 'clang/test/CodeGenCXX/microsoft-abi-methods.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/microsoft-abi-methods.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGenCXX/microsoft-abi-methods.cpp b/clang/test/CodeGenCXX/microsoft-abi-methods.cpp index 579e549ab46..aa3141c7d34 100644 --- a/clang/test/CodeGenCXX/microsoft-abi-methods.cpp +++ b/clang/test/CodeGenCXX/microsoft-abi-methods.cpp @@ -75,6 +75,9 @@ void constructors() { // CHECK: %{{[.0-9A-Z_a-z]+}} = call x86_thiscallcc %class.Base* @"\01??0Base@@QAE@XZ" // CHECK: ret +// Make sure that the Base constructor definition uses the right CC: +// CHECK: define linkonce_odr x86_thiscallcc %class.Base* @"\01??0Base@@QAE@XZ" + // Make sure that the Base destructor call in the Child denstructor uses // the right calling convention: // CHECK: define linkonce_odr x86_thiscallcc void @"\01??1Child@@QAE@XZ" @@ -83,7 +86,4 @@ void constructors() { // Make sure that the Base destructor definition uses the right CC: // CHECK: define linkonce_odr x86_thiscallcc void @"\01??1Base@@QAE@XZ" - -// Make sure that the Base constructor definition uses the right CC: -// CHECK: define linkonce_odr x86_thiscallcc %class.Base* @"\01??0Base@@QAE@XZ" } |