Sign in
mingw
/
mingw-w64
/
b9eed30a85e3d85806ddcb34e2ede284d938f2fb
/
.
/
mingw-w64-crt
/
testcases
/
t_wrongret.cpp
blob: 4393452d8235d72dd0033bcb43633626f984d1e4 [
file
]
#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
}