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
206 B
26 lines
206 B
4 months ago
|
// Compile with:
|
||
|
// g++ -g -shared -o libobj-v0.so obj-v0.cc
|
||
|
|
||
|
struct S0
|
||
|
{
|
||
|
int mem0;
|
||
|
char mem1;
|
||
|
|
||
|
S0()
|
||
|
: mem0(),
|
||
|
mem1()
|
||
|
{}
|
||
|
};
|
||
|
|
||
|
struct S1
|
||
|
{
|
||
|
int mem2;
|
||
|
};
|
||
|
void
|
||
|
bar(S0&)
|
||
|
{}
|
||
|
|
||
|
void
|
||
|
foo(S1&)
|
||
|
{}
|