PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / overload / defarg6.C
blobc5473aec307f1eac9eee2a13e72d29c8556dd176
1 class A
3   int i;
4   A(int i): i(i) {}             // { dg-message "private" }
5 };
7 void f (A = 1) { }              // { dg-error "context" }