Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 7 years ago

Language

Compiler

Options

Author

anonymous

about 7 years ago

a.h

$
prog.cc: In function 'int main()':
prog.cc:4:17: warning: ISO C++ forbids taking address of function '::main' [-Wpedantic]
   decltype(main()) x = 0;
                 ^
prog.cc:4:17: warning: ISO C++ forbids taking address of function '::main' [-Wpedantic]
prog.cc:4:20: warning: unused variable 'x' [-Wunused-variable]
   decltype(main()) x = 0;
                    ^
Exit Code:
0