URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [parse/] [error41.C] - Rev 774
Go to most recent revision | Compare with Previous | Blame | View Log
// 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" }
}
Go to most recent revision | Compare with Previous | Blame | View Log