22 lines · cpp
1// RUN: %clang_cc1 -triple i386-pc-win32 %s -emit-llvm -fms-extensions -fms-compatibility -fno-rtti -o - | FileCheck %s2 3// CHECK-NOT: @"??_7C@@6B@"4 5// CHECK-DAG: @"??_7A2@@6B@"6 7// CHECK-DAG: @"??_7B2@@6B@"8 9// CHECK-NOT: @"??_7B1@@6B@"10 11// CHECK-NOT: @"??_7A1@@6B@"12 13struct __declspec(novtable) A1 {14 virtual void a();15} a1;16struct A2 {17 virtual void a();18};19struct __declspec(novtable) B1 : virtual A1 {} b1;20struct B2 : virtual A1 {} b2;21struct __declspec(novtable) C : virtual A2 {} c;22