diff options
Diffstat (limited to 'Tests/CompileFeatures/cxx_inheriting_constructors.cpp')
-rw-r--r-- | Tests/CompileFeatures/cxx_inheriting_constructors.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/CompileFeatures/cxx_inheriting_constructors.cpp b/Tests/CompileFeatures/cxx_inheriting_constructors.cpp index cfce880..51400ce 100644 --- a/Tests/CompileFeatures/cxx_inheriting_constructors.cpp +++ b/Tests/CompileFeatures/cxx_inheriting_constructors.cpp @@ -3,7 +3,10 @@ struct A { int m_i; - A(int i) : m_i(i) {} + A(int i) + : m_i(i) + { + } }; struct B : public A |