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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [other/] [infloop-1.C] - Blame information for rev 841

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

Line No. Rev Author Line
1 149 jeremybenn
// PR 18300: This sends old compilers into an infinite loop on x86_64
2
// Testcase and patch contributed by Zak Kipling 
3
 
4
struct base1 { };
5
struct base2 { };
6
struct base3 { };
7
 
8
struct derived : base1, base2, base3 { };
9
 
10
void foo(derived);
11
 
12
int main()
13
{
14
  foo(derived());
15
}
16
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.