Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 8 years ago

Language

Compiler

Options

Author

anonymous

almost 8 years ago

noname-1

$
prog.cc:1:9: error: ISO C++ forbids use of 'auto' in parameter declaration [-Wpedantic]
 void f1(auto); // use auto in parameters, OK in GCC without any TS options
         ^~~~
prog.cc:3:9: error: ISO C++ forbids use of 'auto' in parameter declaration [-Wpedantic]
 void f2(auto...); // use "auto parameter pack" in parameters, also OK in GCC
         ^~~~
Exit Code:
1