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" }
}