Debian Codegraph @

gcc/testsuite/g++.dg/concepts/misspelled-concept.C

raw
1 // { dg-do compile { target c++20 } }
2 // { dg-options "-fconcepts" }
3
4 #include <concepts>
5
6 template <std::unsinged_integral N> foo (N); // { dg-error "'std::unsinged_integral' has not been declared; did you mean 'std::unsigned_integral'" }
7 // { dg-error "expected" "followup" { target *-*-* } .-1 }