1// PR c++/38640 2// { dg-do compile } 3// { dg-options "-std=c++0x" } 4 5template<int N> void foo (decltype (N)); 6template<long int N> void foo (decltype (N)); 7 8void 9bar (void) 10{ 11 foo<5> (6); 12 foo<5L> (6L); 13} 14