☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
concepts
/
diagnostic8.C
☽
☼
gcc/testsuite/g++.dg/concepts/diagnostic8.C
code
plain
raw
1
// PR c++/94306
2
// { dg-do compile { target c++2a } }
3
4
template<typename T> struct S { };
5
template<typename T> requires { typename T::type; } struct S<T> { };
6
// { dg-error "missing additional .requires." "" { target *-*-* } .-1 }