Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
error41.C
blob: 621a2e252ed50fbc5e03a218646e6ae1cc08385c [
file
] [
log
] [
blame
]
// PR c++/44524
template
<
typename
,
typename
>
struct
map
{
bool
empty
();
};
int
bar
(
map
<
int
,
float
>
*
X
)
{
return
X
.
empty
();
// { dg-error "which is of pointer type 'map" }
}