aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/array7.C
blob: 1fb130f9961675183601a53f820c2c0e5bd03a0d (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/16246

template <typename T> void foo (T, T); 
 
template <unsigned N, unsigned M>  
int bar( const char(&val)[M] ) 
{ 
  foo (N,M); 
} 
 
int i = bar<10>("1234");