Debian Codegraph @

clang/test/DebugInfo/CXX/method-spec.cpp

raw
1 // FIXME: Check IR rather than asm, then triple is not needed.
2 // RUN: %clang --target=%itanium_abi_triple -fverbose-asm -g -S %s -o - | grep DW_AT_specification
3 class A {
4 public:
5 void doSomething(int i) { ++i; }
6 };
7
8 void foo(A *a) {
9 a->doSomething(2);
10 }