1 // PR c++/17936
2 
3 template<int, int N> struct A
4 {
5   void foo();
6 };
7 
8 template<int N> struct A<1, N>
9 {
10   void foo();
11 };
12 
13 template<> void A<1, 2>::foo();
14