diff options
Diffstat (limited to 'Tests/CompileFeatures/cxx_override.cpp')
-rw-r--r-- | Tests/CompileFeatures/cxx_override.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Tests/CompileFeatures/cxx_override.cpp b/Tests/CompileFeatures/cxx_override.cpp index 55bec13..3283f2f 100644 --- a/Tests/CompileFeatures/cxx_override.cpp +++ b/Tests/CompileFeatures/cxx_override.cpp @@ -1,7 +1,9 @@ -struct A { +struct A +{ virtual void doNothing() {} }; -struct B : A { +struct B : A +{ void doNothing() override {} }; |