xref: /llvm-project/clang/test/CodeGenCXX/debug-info-method-spec.cpp (revision 0f1c1be1968076d6f96f8a7bcc4a15cf195ecd97)
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:
doSomething(int i)5   void doSomething(int i) { ++i; }
6 };
7 
foo(A * a)8 void foo(A *a) {
9   a->doSomething(2);
10 }
11