llvm-for-llvmta/tools/clang/test/CodeGenCXX/debug-info-method-spec.cpp

12 lines
276 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// FIXME: Check IR rather than asm, then triple is not needed.
// RUN: %clang --target=%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);
}