1 /// Ensure -fdump-vtable-layout omits the rtti component when passed -fexperimental-omit-vtable-rtti.
3 // RUN: %clang_cc1 %s -triple=aarch64-unknown-linux-gnu -fno-rtti -fexperimental-omit-vtable-rtti -emit-llvm-only -fdump-vtable-layouts | FileCheck %s
5 // CHECK: Vtable for 'A' (2 entries).
6 // CHECK-NEXT: 0 | offset_to_top (0)
7 // CHECK-NEXT: -- (A, 0) vtable address --
8 // CHECK-NEXT: 1 | void A::foo()