OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [conv13.C] - Rev 693

Compare with Previous | Blame | View Log

// PR c++/52088

struct S
{
  template <typename T>
  operator T *() { return 0; }
};

int main()
{
  S s;
  delete s;                    // { dg-error "ambiguous|template|pointer" }
}

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.