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++: find_template_parameters and TEMPLATE_DECLs [PR101247]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-memtmpl5.C
blob
3c83bb884859f7122e1631838ec1fdf131024664
1
// PR c++/101247
2
// { dg-do compile { target concepts } }
3
4
template<class T, class U> struct A {
5
template<class> static constexpr bool d = true;
6
static void g() requires d<U>;
7
};
8
9
int main() {
10
A<int, char>::g();
11
}