Timur Iskhodzhanov | ad47776 | 2014-01-30 01:01:36 +0000 | [diff] [blame] | 1 | // FIXME: Check IR rather than asm, then triple is not needed. |
2 | // RUN: %clang -Xclang -triple=%itanium_abi_triple -fverbose-asm -g -S %s -o - | grep DW_AT_specification | ||||
Devang Patel | a6cb064 | 2011-04-23 00:08:01 +0000 | [diff] [blame] | 3 | // Radar 9254491 |
4 | class A { | ||||
5 | public: | ||||
6 | void doSomething(int i) { ++i; } | ||||
7 | }; | ||||
8 | |||||
9 | void foo(A *a) { | ||||
10 | a->doSomething(2); | ||||
11 | } |