[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / const3.C
blob998b6976e421c3089b9eb8b34d7dd1c146b4798c
1 // Contributed by Dodji Seketeli <dodji@redhat.com>
2 // Origin PR c++/42251
3 // { dg-do compile }
5 struct foo
7     static const bool b = false;
8 };
10 template<bool x>
11 struct S1
15 template<bool x>
16 struct S2
17     : S1<foo::b>