CMake/Tests/CompileFeatures/cxx_override.cpp

8 lines
94 B
C++

struct A {
virtual void doNothing() {}
};
struct B : A {
void doNothing() override {}
};