OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [other/] [infloop-1.C] - Rev 399

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

// PR 18300: This sends old compilers into an infinite loop on x86_64
// Testcase and patch contributed by Zak Kipling <zak@transversal.com>

struct base1 { };
struct base2 { };
struct base3 { };

struct derived : base1, base2, base3 { };

void foo(derived);

int main()
{
  foo(derived());
}

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.