repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
c++: robustify testcase [PR109752]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
array7.C
blob
59364be33cff4b986b97b9d80adb1d098402e25a
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");