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