FOC/L4RE: Upstream revision 40
This commit is contained in:
22
tools/preprocess/test/dropsection-ext.cpp
Normal file
22
tools/preprocess/test/dropsection-ext.cpp
Normal file
@@ -0,0 +1,22 @@
|
||||
INTERFACE [ext]:
|
||||
|
||||
EXTENSION class Gen_foo : public Gen_bar
|
||||
{
|
||||
public:
|
||||
int extra_var;
|
||||
};
|
||||
|
||||
EXTENSION class Gen_foo_ext : public Gen_baz
|
||||
{
|
||||
private:
|
||||
char *extension;
|
||||
};
|
||||
|
||||
IMPLEMENTATION [ext]:
|
||||
|
||||
PRIVATE int
|
||||
Gen_foo::do_something_private()
|
||||
{
|
||||
// just do it
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user