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
c++: simple-requirement starting with 'typename' [PR101733]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-requires32.C
blob
117b8920787ee4ad6b86765bba2088fad999c5a2
1
// PR c++/101733
2
// { dg-do compile { target c++20 } }
3
4
template<class T>
5
requires requires {
6
typename T::type;
7
(typename T::type()); // (1)
8
T::type(); // (2)
9
typename T::type(); // (3)
10
}
11
void f(T) { }