Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / pr34163.cpp
bloba200a0f509bcec006781bef675b765b846971f52
1 // RUN: %clang_cc1 -emit-llvm -debug-info-kind=standalone -triple x86_64-linux-gnu -o - -x c++ %s | FileCheck %s
3 void f(struct X *) {}
5 // CHECK: @_ZTV1X =
6 struct X {
7 void a() { delete this; }
8 virtual ~X() {}
9 virtual void key_function();
12 // CHECK: define {{.*}} @_ZN1X12key_functionEv(
13 void X::key_function() {}