You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
323 B
14 lines
323 B
// RUN: %clang_cc1 -emit-llvm -debug-info-kind=standalone -triple x86_64-linux-gnu -o - -x c++ %s | FileCheck %s
|
|
|
|
void f(struct X *) {}
|
|
|
|
// CHECK: @_ZTV1X =
|
|
struct X {
|
|
void a() { delete this; }
|
|
virtual ~X() {}
|
|
virtual void key_function();
|
|
};
|
|
|
|
// CHECK: define {{.*}} @_ZN1X12key_functionEv(
|
|
void X::key_function() {}
|