Language
C++
Compiler
clang 11.1.0
Options
Warnings
Don't Use Boost
C++17
-pedantic-errors
$ clang++ prog.cc -Wall -Wextra -std=c++17 -pedantic-errors Exit Code:
1
Author
anonymous
over 4 years ago
C++
clang 11.1.0
Author
anonymous
over 4 years ago
$ clang++ prog.cc -Wall -Wextra -std=c++17 -pedantic-errors prog.cc:6:5: error: call to implicitly-deleted default constructor of 'A'
A a;
^
prog.cc:2:13: note: default constructor of 'A' is implicitly deleted because field 'test_' of const-qualified type 'const int' would not be initialized
const int test_;
^
1 error generated.