11 lines · cpp
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_specification3class A {4public:5 void doSomething(int i) { ++i; }6};7 8void foo(A *a) {9 a->doSomething(2);10}11