summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/genex_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CompileFeatures/genex_test.cpp')
-rw-r--r--Tests/CompileFeatures/genex_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CompileFeatures/genex_test.cpp b/Tests/CompileFeatures/genex_test.cpp
index 4412569..f667cc4 100644
--- a/Tests/CompileFeatures/genex_test.cpp
+++ b/Tests/CompileFeatures/genex_test.cpp
@@ -10,7 +10,7 @@ struct A
virtual int getA() { return 7; }
};
-struct B : A
+struct B final : A
{
int getA() override { return 42; }
};