Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 8 years ago

Language

Compiler

Options

Author

anonymous

over 8 years ago

$
prog.cc: In function 'int main()':
prog.cc:14:11: warning: reference 'counterRef' is initialized with itself [-Winit-self]
    count &counterRef=counterRef; // here! I mistakenly put the
           ^~~~~~~~~~
prog.cc:14:11: warning: 'counterRef' is used uninitialized in this function [-Wuninitialized]
    count &counterRef=counterRef; // here! I mistakenly put the
           ^~~~~~~~~~
test:0
Exit Code:
0