freebsd-nq/test/CodeGenCXX/virtual-pseudo-destructor-call.cpp
2009-11-18 14:59:57 +00:00

11 lines
135 B
C++

// RUN: clang-cc %s -emit-llvm -o - | FileCheck %s
struct A {
virtual ~A();
};
void f(A *a) {
// CHECK: call void %
a->~A();
}