Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / microsoft-abi-member-pointers-debug-info.cpp
blob34be5557b5e90437fa8d1c4ed29221060a02bd34
1 // RUN: %clang_cc1 -std=c++11 -debug-info-kind=line-tables-only -fno-rtti -emit-llvm %s -o - -triple=x86_64-pc-win32 -fms-extensions | FileCheck %s
3 struct Task {
4 virtual void Run() = 0;
5 };
7 auto b = &Task::Run;
9 // CHECK: define {{.*}}@"??_9Task@@$BA@AA"
10 // CHECK-NOT: define
11 // CHECK: musttail call {{.*}}, !dbg ![[DBG:[0-9]+]]
13 // CHECK: ![[DBG]] = !DILocation(line: 4