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++: prev declared hidden tmpl friend inst [PR112288]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
lambda-targ4.C
blob
341a1aa5bb1c4f7d602a7ddaf40fffae8965cb2c
1
// PR c++/93595
2
// { dg-do compile { target c++20 } }
3
4
template<int>
5
struct bad {
6
template<class T, auto = []{ return T(); }>
7
static void f(T) { }
8
};
9
10
int main() {
11
bad<0>::f(0);
12
}