Author
anonymous
about 9 years ago
Language
Compiler
Options
Author
anonymous
about 9 years ago
$ prog.cc:10:17: error: base class 'base' has private constructor
using base::base;
^
prog.cc:6:5: note: declared private here
base(int) {}
^
prog.cc:15:14: note: inheriting constructor for 'derived' first required here
{ return { 42 }; }
^
1 error generated.
Exit Code:
1