Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.warn/flow1.C

raw
1 // { dg-do assemble }
2 // { dg-options "-Wreturn-type" }
3 // Test that we don't get a warning about flowing off the end.
4
5 typedef int int32_t __attribute__((mode (__SI__)));
6
7 struct A {
8 ~A ();
9 };
10
11 int32_t f()
12 {
13 A a1[2];
14 A a2[2];
15 return 1234567L;
16 }