[InstCombine] Preserve NSW flags for `lshr (mul nuw X, C1), C2 -> mul nuw nsw X,...
[llvm-project.git] / clang / test / CodeGenCXX / debug-info-method-spec.cpp
bloba58e8de107c2d45c84558d09992bf8fd0c418f86
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:
5 void doSomething(int i) { ++i; }
6 };
8 void foo(A *a) {
9 a->doSomething(2);