| 1 |
// PR c++/99909 |
| 2 |
// { dg-do compile { target c++20 } } |
| 3 |
|
| 4 |
template<class T> constexpr bool always_true = true; |
| 5 |
template<class T> concept C = always_true<T>; |
| 6 |
|
| 7 |
template<C auto> struct S; |
| 8 |
|
| 9 |
template<template<auto> class TT> void f() { } |
| 10 |
|
| 11 |
template void f<S>(); |