OpenCores
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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.