blob: 3e03b32ce1fd2c40b5510f8186adf34c6909d6ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -mconstructor-aliases -fclangir -emit-cir %s -o %t.cir
// RUN: FileCheck --check-prefix=CIR --input-file=%t.cir %s
struct A {
virtual void f(char);
};
// This is just here to force the class definition to be emitted without
// requiring any other support. It will be removed when more complete
// vtable support is implemented.
A *a;
// CIR: !rec_A = !cir.record<struct "A" {!cir.vptr}>
|