forked from OSchip/llvm-project
11 lines
145 B
C++
11 lines
145 B
C++
|
// RUN: clang-cc %s -emit-llvm -o - | FileCheck %s
|
||
|
|
||
|
struct A {
|
||
|
virtual int operator-() = 0;
|
||
|
};
|
||
|
|
||
|
void f(A *a) {
|
||
|
// CHECK: call i32 %
|
||
|
-*a;
|
||
|
}
|