PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / array7.C
blob59364be33cff4b986b97b9d80adb1d098402e25a
1 // PR c++/16246
3 template <typename T> void foo (T, T); 
4  
5 template <unsigned N, unsigned M>  
6 int bar( const char(&val)[M] ) 
7
8   foo (N,M); 
9   return 0;
10
12 int i = bar<10>("1234");