blob: 341a1aa5bb1c4f7d602a7ddaf40fffae8965cb2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// PR c++/93595
// { dg-do compile { target c++20 } }
template<int>
struct bad {
template<class T, auto = []{ return T(); }>
static void f(T) { }
};
int main() {
bad<0>::f(0);
}
|