Sign in
gnu
/
gcc
/
57ea00136418991e847e46a6946a81a1df70c9a4
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.warn
/
flow1.C
blob: 61f6a554970821a32f4a5ba7e35d9b1b7f383115 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// { dg-options "-Wreturn-type" }
// Test that we don't get a warning about flowing off the end.
struct
A
{
~
A
();
};
int
f
()
{
A a1
[
2
];
A a2
[
2
];
return
1234567
;
}