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
/
cpp0x
/
pr57172.C
blob
2108838136017c9fc49af1e6df88a3bcaee9d947
1
// PR c++/57172
2
// { dg-do compile { target c++11 } }
3
4
template <typename T> int f (T&) { return 0; }
5
template <typename T> int f (T&&) = delete;
6
int i;
7
int j = f (i);