trick/test/SIM_parse_s_define/models/Classes.hh
dbankieris ef1d105bfb
Improve parsing of base-clauses in S_define
A base-clause is the stuff in an inheritance list after the colon in a
class declaration.
https://en.cppreference.com/w/cpp/language/derived_class

Closes #723
Closes #733
2019-05-08 08:41:50 -05:00

23 lines
377 B
C++

//@trick_link_dependency{Classes.cpp}
#ifndef CLASSES_HH
#define CLASSES_HH
#include "trick/SimObject.hh"
void foo();
class Normal {};
template <class T> class Template1 {};
template <class T, typename U> struct Template2 {};
namespace Foo {
class FooNormal {};
template <class T> class FooTemplate1 {};
template <class T, typename U> struct FooTemplate2 {};
};
#endif