summaryrefslogtreecommitdiff
path: root/clang/test/CXX/special/class.dtor/p2.cpp
blob: b05c992f4115656e3d6c65bc2cd57190070e28a9 (about) (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 -fsyntax-only -verify %s

// PR5548
struct A {~A();};
void a(const A* x) {
  x->~A();
}