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
/cp
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
lambda-generic-77914.C
blob
a57903aba3350425463eba6b12e9439710451b27
1
// PR c++/77914
2
// { dg-do compile { target c++14 } }
3
4
int
5
main ()
6
{
7
auto l = [] <typename T> () {}; // { dg-error "lambda templates are only available with" "" { target c++17_down } }
8
l.operator () <void> ();
9
}