c++: P0847R7 (deducing this) - xobj lambdas. [PR102609]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp2a / concepts-conv1.C
blobaa29acbcb1353c5289164d7f5f3ef83b01d9b8be
1 // { dg-do compile { target concepts } }
3 template <class T> concept False = false;
5 template <class T>
6 struct A
8   explicit operator bool ();
9   explicit operator bool () requires False<T>;
12 int main()
14   int i { A<int>() };           // { dg-error "" }