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.

22 lines
182 B

// Compile with:
// g++ -g -Wall -c test27-local-base-diff-v1.cc
struct base
{
int m0;
char m1;
};
struct S : public base
{
int m0;
};
void
bar(base&)
{}
void
foo(S*)
{
}