summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info-method-spec.cpp
blob: c00da004f456ebd2169e2b5b51e99b9fc0e0ef36 (plain)
1
2
3
4
5
6
7
8
9
10
11
// FIXME: Check IR rather than asm, then triple is not needed.
// RUN: %clang -Xclang -triple=%itanium_abi_triple -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);
}
OpenPOWER on IntegriCloud