Signed-off-by: hmz007 <hmz007@gmail.com> Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
22 lines
182 B
C++
22 lines
182 B
C++
// 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*)
|
|
{
|
|
}
|