Sign in
gnu
/
gcc
/
a8404c07e7fca388c02c39077865f7d5fa928430
/
.
/
gcc
/
testsuite
/
g++.dg
/
pr92542.C
blob: d71f515f2688202d3da820264be99a45b42880d1 [
file
] [
log
] [
blame
]
template
<
typename
T
>
struct
S
{
S
(
T
,
T
)
{
}
};
char
*
begin
();
char
*
end
();
void
test01
()
{
S s
(
begin
().
end
());
// { dg-error "request for member" "" { target c++17 } }
// { dg-error "missing" "" { target c++14_down } .-1 }
}