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
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
varmod1.C
blob
38e1e1c85dfd17162acd9c6d2419d7c02f3dac29
1
// { dg-options "-w" }
2
3
template<typename T> void foo(T); // { dg-message "note" }
4
5
void bar()
6
{
7
int i;
8
int A[i][i];
9
foo(A); // { dg-error "" }
10
// { dg-message "(candidate|not a valid template argument)" "candidate note" { target *-*-* } .-1 }
11
}