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.
21 lines
171 B
21 lines
171 B
7 months ago
|
// Compile with:
|
||
|
// g++ -g -Wall -c test27-local-base-diff-v0.cc
|
||
|
struct base
|
||
|
{
|
||
|
int m0;
|
||
|
};
|
||
|
|
||
|
struct S : public base
|
||
|
{
|
||
|
int m0;
|
||
|
};
|
||
|
|
||
|
void
|
||
|
bar(base&)
|
||
|
{}
|
||
|
|
||
|
void
|
||
|
foo(S*)
|
||
|
{
|
||
|
}
|