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
/
concepts
/
req19.C
blob
d52ac23ddda22585f036aa23a4d1e3d54c524669
1
// { dg-options "-std=c++17 -fconcepts" }
2
3
struct B
4
{
5
template <class T> void f(T t)
6
requires requires (T tt) { tt; }
7
{ }
8
};
9
10
int main()
11
{
12
B().f(42);
13
}