summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/cxx_override.cpp
blob: 55bec1389af9bfd54ce5dd3156e61449cec4bf59 (plain)
1
2
3
4
5
6
7

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