From: Jason Merrill Date: Thu, 25 May 2000 00:34:20 +0000 (-0400) Subject: new X-Git-Tag: prereleases/libstdc++-2.92~6208 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=392b631661531c16c691310bb78b9af861537cca;p=thirdparty%2Fgcc.git new From-SVN: r34148 --- diff --git a/gcc/testsuite/g++.old-deja/g++.warn/flow1.C b/gcc/testsuite/g++.old-deja/g++.warn/flow1.C new file mode 100644 index 000000000000..bb3413899e6b --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.warn/flow1.C @@ -0,0 +1,14 @@ +// Test that we don't get a warning about flowing off the end. +// Build don't link: +// Special g++ Options: -Wreturn-type + +struct A { + ~A (); +}; + +int f() +{ + A a1[2]; + A a2[2]; + return 1234567; +}