]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/g++.dg/cpp2a/concepts-conv1.C
rs6000, change altivec*-runnable.c test file names
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / cpp2a / concepts-conv1.C
CommitLineData
586b016c
JM
1// { dg-do compile { target concepts } }
2
3template <class T> concept False = false;
4
5template <class T>
6struct A
7{
8 explicit operator bool ();
9 explicit operator bool () requires False<T>;
10};
11
12int main()
13{
14 int i { A<int>() }; // { dg-error "" }
15}