bolt/deps/llvm-18.1.8/clang/test/CodeGenCXX/debug-info-method-spec.cpp
2025-02-14 19:21:04 +01:00

10 lines
259 B
C++

// 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
class A {
public:
void doSomething(int i) { ++i; }
};
void foo(A *a) {
a->doSomething(2);
}