aboutsummaryrefslogtreecommitdiff
path: root/test/CXX/special/class.dtor/p2.cpp
blob: c0e878fed2a56c3ee90c95fc8c178c24c4d675da (plain) (blame)
1
2
3
4
5
6
7
// RUN: clang-cc -fsyntax-only -verify %s

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