Debian Codegraph @

gcc/testsuite/g++.dg/concepts/missing-header.C

raw
1 // { dg-do compile { target c++20 } }
2 // { dg-options "-fconcepts" }
3
4 template <std::integral N> foo (N); // { dg-error "'std::integral' has not been declared" }
5 // { dg-message "'std::integral' is defined in header '<concepts>'" "note" { target *-*-* } .-1 }
6 // { dg-error "expected" "followup" { target *-*-* } .-2 }