Sign in
third-party-mirror
/
mingw-w64
/
refs/tags/v5.0.0
/
.
/
mingw-w64-crt
/
testcases
/
t_wrongret.cc
blob: ef867ee0b2ab628b64ebf90a11bdb7ac6cb0a541 [
file
] [
log
] [
blame
]
#include
<iostream>
#include
<vector>
int
F
()
{
std
::
vector
<char>
buffer
;
// this can be any container
std
::
cout
<<
std
::
endl
;
return
12345
;
std
::
cout
<<
std
::
endl
;
}
int
main
()
{
std
::
cout
<<
F
()
<<
std
::
endl
;
// prints something other than 12345
}