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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [defaulted18.C] - Rev 774

Go to most recent revision | Compare with Previous | Blame | View Log

// { dg-options "-std=c++0x" }

void f(char i, int j) = delete; // { dg-message "<deleted>" }
void f(int i, ...);             // { dg-message "void f" }

int main()
{
  f(1,1);                       // { dg-error "ambiguous" }
  // { dg-message "candidate" "candidate note" { target *-*-* } 8 }
}

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.