CMake/Tests/CompileFeatures/cxx_override.cpp

10 lines
94 B
C++

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