diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/crash14.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/crash14.C | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/crash14.C b/gcc/testsuite/g++.old-deja/g++.other/crash14.C new file mode 100644 index 000000000..d97577d1d --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.other/crash14.C @@ -0,0 +1,22 @@ +// { dg-do assemble } +// Origin: Mark Mitchell <mark@codesourcery.com> + +struct S +{ +}; + +struct T : public S +{ +}; + +struct U : public T +{ +}; + +void f (U); + +int main () +{ + U u; + f (u); +} |