// { dg-do compile } // Copyright (C) 2002 Free Software Foundation, Inc. // Contributed by Nathan Sidwell 26 Dec 2002 // PR 3784: We were confusing non-type template parms. template class X { }; template void foo1(X); template void foo2(X); int main() { X<2> x; foo2(x); }