summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/cpp/override_virtual.cpp
blob: 537454b168094a9a40bf06d0bab3543f1653a536 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
struct A
{
	virtual void foo();
	virtual void bar() = 0;
	virtual void baz() const {
	}
};

struct B : public A
{
	virtual void foo() override;
	void bar() override {
	}
	void baz() const override {
	}
};