Debian Codegraph @

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

raw
1 // PR c++/94481
2 // { dg-do compile { target c++20 } }
3
4 template<typename T>
5 concept C = true;
6
7 void foo() {
8 C decltype c = 1; // { dg-error "" }
9 }