Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/concepts-pr78173.C

raw
1 // PR c++/78173
2 // { dg-do compile { target c++20 } }
3
4 template <class T>
5 concept CanDifference = requires(T x, T y) {
6 x - y;
7 };
8
9 static_assert(!CanDifference<void*>);