mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-09 01:09:30 -05:00
Merge topic 'CM_OVERRIDE-clang'
3f77655d CM_OVERRIDE: fix feature test for clang
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
struct Foo
|
||||
{
|
||||
Foo() {}
|
||||
virtual ~Foo() {}
|
||||
virtual int test() const = 0;
|
||||
};
|
||||
|
||||
struct Bar : Foo
|
||||
{
|
||||
Bar() {}
|
||||
~Bar() override {}
|
||||
int test() const override { return 0; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user