repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
other
/
infloop-1.C
blob
6c851c7e5e9be02f3bb3ab6ddcd0609813518eaa
1
// PR 18300: This sends old compilers into an infinite loop on x86_64
2
// Testcase and patch contributed by Zak Kipling <zak@transversal.com>
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