blob: 0154afa5df19a67446d9771b5d704f2f7590b996 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// PR c++/92739
// { dg-do compile { target concepts } }
template <class T>
concept C = true;
template <class T>
requires C<T>
[[nodiscard]] int f(T t) {
return 22;
}
int main() {
return 0;
}
|