Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/constinit19.C

raw
1 // PR c++/111173
2 // { dg-do compile { target c++20 } }
3
4 using Function = int();
5 constinit Function f; // { dg-error ".constinit. specifier invalid for function" }