Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
concepts
/
diagnostic8.C
blob: 70d7e4a9cc141a8a3247e2c1f43ab23c5eb9fb9b [
file
] [
log
] [
blame
]
// PR c++/94306
// { dg-do compile { target c++2a } }
template
<
typename
T
>
struct
S
{
};
template
<
typename
T
>
requires
{
typename
T
::
type
;
}
struct
S
<
T
>
{
};
// { dg-error "missing additional .requires." "" { target *-*-* } .-1 }