Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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" }
}