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