PR c++/81180 - ICE with C++17 deduction of member class template.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1z / class-deduction40.C
blobeeffa69adf5d9121306480e50eed5064a06e9e18
1 // PR c++/81180
2 // { dg-options -std=c++1z }
4 template < int I > struct int_{};
6 template < typename T >
7 struct A{
8     template < typename U, int I >
9     struct B{
10         B(U u, int_< I >){}
11     };
15 int main(){
16     A< int >::B v(0, int_< 0 >());
17     (void)v;