summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/debug-info-method-spec.cpp
blob: 2068c5ce4fad681ebd35030cab92ba43e89e847e (about) (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang -fverbose-asm -g -S %s -o - | grep DW_AT_specification
// Radar 9254491
class A {
public:
  void doSomething(int i) { ++i; }
};

void foo(A *a) {
  a->doSomething(2);
}