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");