aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/concepts-uneval3.C
blob: 7fc4065730b709d962a5a0a39c3f429d0c50cd8d (plain)
1
2
3
4
5
6
7
8
9
// PR c++/94508
// { dg-do compile { target c++20 } }

template <class T>
struct A {
  void f() requires (this, true) { }
};

template struct A<int>;