mirror of
https://github.com/opnsense/src.git
synced 2026-03-20 01:35:49 -04:00
13 lines
233 B
C++
13 lines
233 B
C++
// 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;
|
|
}
|