In file included from iostream:41:
In member function ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits<char>]’,
inlined from ‘int main()’ at foo.cc:14:32:
/nix/gcc-13.2.0/include/c++/13.2.0/ostream:223:25: warning: ‘y’ may be used uninitialized [-Wmaybe-uninitialized]
223 | { return _M_insert(__f); }
| ~~~~~~~~~^~~~~
foo.cc: In function ‘int main()’:
foo.cc:6:18: note: ‘y’ was declared here
6 | double x,y;
| ^