From-SVN: r34148
This commit is contained in:
Jason Merrill 2000-05-24 20:34:20 -04:00
parent 86f45d2c8a
commit 392b631661

View file

@ -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;
}