Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CXX / special / class.dtor / p2.cpp
blob4a10eb9e0d0bb8c55f0fa37f61212fffcd6304fd
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
4 // PR5548
5 struct A {~A();};
6 void a(const A* x) {
7 x->~A();