[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / error16.C
blob0da024bc665228cdb7dd46c5d1f8c1689158b334
1 // PR c++/18674
3 template <typename I>
4 static void g() {
5   enum I::t a; // { dg-error "" }
6   (void) a;
9 struct B {
10   typedef int t;
13 void h()
15   g<B>();