aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/concepts-fnparm1.C
blob: 586b510c796a035c7a4b4648a0928589f25337db (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do compile { target concepts } }

template <class T> void f(T t)
  requires requires { static_cast<T&&>(t); }
{}

int main()
{
  f(42);
}