You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
243 B

// RUN: %clang_cc1 %s -triple i386-unknown-unknown -emit-llvm -o - | FileCheck %s
struct A {
virtual int operator-();
};
void f(A a, A *ap) {
// CHECK: call i32 @_ZN1AngEv(%struct.A* {{[^,]*}} %a)
-a;
// CHECK: call i32 %
-*ap;
}