Debian Codegraph @

gcc/testsuite/g++.dg/template/array7.C

raw
1 // PR c++/16246
2
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 }
11
12 int i = bar<10>("1234");