1// RUN: %clang_cc1 -fsyntax-only -verify %s 2// expected-no-diagnostics 3 4// PR5548 5struct A {~A();}; 6void a(const A* x) { 7 x->~A(); 8} 9