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