You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
245 B
26 lines
245 B
4 months ago
|
// Compile this with:
|
||
|
//
|
||
|
// g++ -shared -g -o libtest35-leaf-v1.so test35-leaf-v1.cc
|
||
|
|
||
|
struct leaf
|
||
|
{
|
||
|
int m0;
|
||
|
char m1;
|
||
|
};
|
||
|
|
||
|
struct leaf_to_filter
|
||
|
{
|
||
|
int member0;
|
||
|
int added;
|
||
|
};
|
||
|
|
||
|
struct C
|
||
|
{
|
||
|
leaf *m0;
|
||
|
leaf_to_filter *m1;
|
||
|
};
|
||
|
|
||
|
void
|
||
|
fn(C&)
|
||
|
{}
|