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.
35 lines
348 B
35 lines
348 B
/// to compile this:
|
|
/// g++ -g -fPIC -shared -o libtest33-v0.so test33-v0.cc
|
|
|
|
#include "test33-v0.h"
|
|
|
|
class to_suppress
|
|
{
|
|
int method1();
|
|
char method2();
|
|
};
|
|
|
|
int
|
|
to_suppress::method1()
|
|
{return 0;}
|
|
|
|
char
|
|
to_suppress::method2()
|
|
{return 0;}
|
|
|
|
void
|
|
to_keep::method1()
|
|
{}
|
|
|
|
void
|
|
to_keep::method2()
|
|
{}
|
|
|
|
void
|
|
foo(to_suppress&)
|
|
{}
|
|
|
|
void
|
|
bar(to_keep&)
|
|
{}
|