Created attachment 14096 [details] Two versions of the error included, one variant works with gcc, the other yields the same behavior in gcc and clang See the attached file. Behavior with clang-3.6 and clang-3.5: bug_report.cpp:25:7: error: calling a protected constructor of class 'Bar' } bar(a); ^ bug_report.cpp:24:20: note: declared protected here using Foo::Foo; ^ 1 error generated.
An inheriting constructor has the same access as the corresponding original constructor. See [class.inhctor]p4.