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

Subversion Repositories openrisc

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

Compare with Previous | Blame | View Log

// Test for backwards brain-damage compatibility with -fpermissive.
// { dg-options "-fpermissive -w" }

void f ();
void f (int *);
void g (int);

int main ()
{
  void *v = 1234;
  void (*p)() = v;
  int i = v;
  f (i);
  f (v);
  g (v);
  enum { a } b = i;
  void (*p2)(int) = p;
  unsigned *ip = &i;
}

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.