1 // Copyright 2020 Insight Software Consortium.
2 // Distributed under the Boost Software License, Version 1.0.
3 // See http://www.boost.org/LICENSE_1_0.txt
4 #ifndef simple_h
5 #define simple_h
6 
7 #include <iostream>
8 class base
9 {
10 public:
base()11   base() {};
~base()12   ~base() {};
13   virtual int goodbye(int num_ref, int num_times) = 0;
14 };
15 
16 class simple : public base
17 {
18 public:
simple()19   simple() {};
~simple()20   ~simple() {};
hello()21   int hello() { return 0; };
goodbye(int,int)22   int goodbye(int , int) override
23     {
24       std::cout << "goodbye\n";
25       return 10;
26     } ;
27 };
28 
29 #endif
30