diff options
Diffstat (limited to 'test/CodeGenCXX/microsoft-abi-vbtables.cpp')
| -rw-r--r-- | test/CodeGenCXX/microsoft-abi-vbtables.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGenCXX/microsoft-abi-vbtables.cpp b/test/CodeGenCXX/microsoft-abi-vbtables.cpp index 8b86d6bd3c8e..9cce6f8698c8 100644 --- a/test/CodeGenCXX/microsoft-abi-vbtables.cpp +++ b/test/CodeGenCXX/microsoft-abi-vbtables.cpp @@ -528,3 +528,14 @@ D d; // CHECK-DAG: @"\01??_8D@Test29@@7BB@1@@" = linkonce_odr unnamed_addr constant [2 x i32] zeroinitializer } + +namespace Test30 { +struct A {}; +template <class> struct B : virtual A { + B() {} +}; + +extern template class B<int>; +template B<int>::B(); +// CHECK-DAG: @"\01??_8?$B@H@Test30@@7B@" = external unnamed_addr constant [2 x i32]{{$}} +} |
