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.

14 lines
214 B

// To compile this:
// g++ -g -Wall -shared -o libtest12-add-data-member-v1.so test12-add-data-member-v1.cc
struct S
{
char m0;
char m_inserted1;
int m1;
char m_inserted2;
};
int
foo(S* s)
{return !!s;}