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
/
intro7.C
blob
9cb4a76740b5918f497b2876a2038b767224fc44
1
// PR c++/66985
2
// { dg-options "-std=c++17 -fconcepts" }
3
4
template <template <class> class T>
5
concept bool _Valid = requires { typename T<int>; };
6
7
template <template <class> class T>
8
struct __defer { };
9
10
_Valid{T}
11
struct __defer<T> {
12
using type = T<int>;
13
};