PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / crash56.C
blobae2d019d9648c0afb09f13982b91b0bc7a096e08
1 // Origin: Wolfgang Bangerth <bangerth@dealii.org>
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.
8 namespace N
10   struct A { A (A*); };
13 template<typename T> void g (N::A *p)
15   (void) A (p); // { dg-message "" }