14 lines · cpp
1// RUN: %clang_cc1 %s -triple i386-unknown-unknown -emit-llvm -o - | FileCheck %s2 3struct A {4 virtual int operator-();5};6 7void f(A a, A *ap) {8 // CHECK: call noundef i32 @_ZN1AngEv(ptr {{[^,]*}} %a)9 -a;10 11 // CHECK: call noundef i32 %12 -*ap;13}14