summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info-thunk.cpp
blob: b15f0ba7953513f4a000d3c23ecd5c5df992d442 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// RUN: %clang_cc1 %s -triple %itanium_abi_triple -g -S -emit-llvm -o - | FileCheck %s

struct A {
  virtual void f();
};

struct B {
  virtual void f();
};

struct C : A, B {
  virtual void f();
};

void C::f() { }

// CHECK: !MDSubprogram(linkageName: "_ZThn{{[48]}}_N1C1fEv"
// CHECK-SAME:          line: 15
// CHECK-SAME:          isDefinition: true
// CHECK-SAME:          ){{$}}
OpenPOWER on IntegriCloud