Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/other/infloop-1.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
// 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()); }