]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGenCXX/virtual-operator-call.cpp
Update clang to r89337.
[FreeBSD/FreeBSD.git] / test / CodeGenCXX / virtual-operator-call.cpp
1 // RUN: clang-cc %s -emit-llvm -o - | FileCheck %s
2
3 struct A {
4   virtual int operator-() = 0;
5 };
6
7 void f(A *a) {
8   // CHECK: call i32 %
9   -*a;
10 }