Debian Codegraph @

gcc/testsuite/g++.dg/template/crash71.C

raw
1 // PR c++/30659
2
3 extern "C" template A<char> foo();
4 // { dg-error "forbids|static data|expected|template" "" { target c++17_down } .-1 }
5 // { dg-error "permitted|forbids|static data|expected|template" "" { target c++20 } .-2 }