1// Origin: Wolfgang Bangerth <bangerth@dealii.org> 2 3// PR c++/28705 4// DR 218 is debating whether this is well formed or not. We've never 5// accepted it (because we'd crash), so we continue to reject it, but 6// without crashing. 7 8namespace N 9{ 10 struct A { A (A*); }; 11} 12 13template<typename T> void g (N::A *p) 14{ 15 (void) A (p); // { dg-message "" "" } 16} 17