summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/cxx_inheriting_constructors.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CompileFeatures/cxx_inheriting_constructors.cpp')
-rw-r--r--Tests/CompileFeatures/cxx_inheriting_constructors.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CompileFeatures/cxx_inheriting_constructors.cpp b/Tests/CompileFeatures/cxx_inheriting_constructors.cpp
index a83b624..cfce880 100644
--- a/Tests/CompileFeatures/cxx_inheriting_constructors.cpp
+++ b/Tests/CompileFeatures/cxx_inheriting_constructors.cpp
@@ -13,6 +13,6 @@ struct B : public A
void someFunc()
{
- int i;
+ int i = 0;
B b(i);
}