2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.warn / flow1.C
blob61f6a554970821a32f4a5ba7e35d9b1b7f383115
1 // { dg-do assemble  }
2 // { dg-options "-Wreturn-type" }
3 // Test that we don't get a warning about flowing off the end.
5 struct A {
6   ~A ();
7 };
9 int f()
11   A a1[2];
12   A a2[2];
13   return 1234567;