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