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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lto/] [20081123_1.C] - Rev 717

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

struct foo {
  const int* int_array;
  const void* default_instance;
};
struct bar {
  static const bar& _default_instance;
  static const foo _internal_foo;
};
struct quxx {
  static int trouble[];
};
int quxx::trouble[] = { };
const foo bar::_internal_foo = { 
  quxx::trouble,
  &bar::_default_instance
};

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.