Mercurial > hg > CbC > CbC_llvm
view clang/test/CodeGenCXX/ms-novtable.cpp @ 206:f17a3b42b08b
Added tag before-12 for changeset b7591485f4cd
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 07 Jun 2021 21:25:57 +0900 (2021-06-07) |
parents | 1d019706d866 |
children |
line wrap: on
line source
// RUN: %clang_cc1 -triple i386-pc-win32 %s -emit-llvm -fms-extensions -fms-compatibility -fno-rtti -o - | FileCheck %s // CHECK-NOT: @"??_7C@@6B@" // CHECK-DAG: @"??_7A2@@6B@" // CHECK-DAG: @"??_7B2@@6B@" // CHECK-NOT: @"??_7B1@@6B@" // CHECK-NOT: @"??_7A1@@6B@" struct __declspec(novtable) A1 { virtual void a(); } a1; struct A2 { virtual void a(); }; struct __declspec(novtable) B1 : virtual A1 {} b1; struct B2 : virtual A1 {} b2; struct __declspec(novtable) C : virtual A2 {} c;