| 1 |
// PR c++/98216 |
| 2 |
// PR c++/91292 |
| 3 |
// { dg-do compile { target c++20 } } |
| 4 |
|
| 5 |
template<auto> void f() { } |
| 6 |
|
| 7 |
template void f<-1.0f>(); |
| 8 |
template void f<-2.0f>(); |
| 9 |
|
| 10 |
template void f<-1.0>(); |
| 11 |
template void f<-2.0>(); |
| 12 |
|
| 13 |
template void f<-1.0L>(); |
| 14 |
template void f<-2.0L>(); |