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
/
param3.C
blob
0c1e70326fa6a31796a6e4a0ff27db74c8df7f7a
1
// PR c++/49418
2
3
template <class T>
4
void f (const T t)
5
{
6
t = 1; // { dg-error "" }
7
}
8
9
int main()
10
{
11
f(1);
12
}