blob: fedcfde2f0c5372ff6524789aa3601086d2d958d [file] [log] [blame]
// PR c++/105734
// { dg-do compile { target c++11 } }
namespace N {
struct A { };
A f(A);
}
template <class T>
void bar() {
auto m = f(T());
m.~A();
}
void foo() { bar<N::A>(); }