xref: /llvm-project/clang/test/CoverageMapping/empty-destructor.cpp (revision 9caa3fbe03f43e3eec30262fbba87c1ee15c05a3)
1*9caa3fbeSZequan Wu // RUN: %clang_cc1 -mllvm -emptyline-comment-coverage=false -triple i686-windows -emit-llvm-only -fcoverage-mapping -dump-coverage-mapping -fprofile-instrument=clang %s | FileCheck %s
2bc370f0cSVedant Kumar 
3bc370f0cSVedant Kumar struct A {
4bc370f0cSVedant Kumar   virtual ~A();
5bc370f0cSVedant Kumar };
6bc370f0cSVedant Kumar 
7bc370f0cSVedant Kumar // CHECK: ?PR32761@@YAXXZ:
8bc370f0cSVedant Kumar // CHECK-NEXT: File 0, [[@LINE+1]]:16 -> [[@LINE+3]]:2 = #0
PR32761()9bc370f0cSVedant Kumar void PR32761() {
10bc370f0cSVedant Kumar   A a;
11bc370f0cSVedant Kumar }
12