Sign in
third-party-mirror
/
mingw-w64
/
3ddfe8ff2828f2adc0603774c74ac68d5f7c1a13
/
.
/
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
}