aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/concepts-err3.C
blob: 9427fd5c5a65501191ee8842b7bb7a0afcbdf2ca (plain)
1
2
3
4
// PR c++/99500
// { dg-do compile { target c++20 } }

bool b = requires (bool a, int a) { requires true; }; // { dg-error "conflicting declaration" }