URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [g++.dg/] [ext/] [visibility/] [typeinfo2.C] - Rev 516
Compare with Previous | Blame | View Log
// PR c++/35368
// { dg-require-visibility "" }
#pragma GCC visibility push (hidden)
struct A
{
A();
virtual ~A() { }
};
A::A()
{
}
void foo(A *a)
{
delete a;
}
// { dg-final { scan-not-hidden "_ZTVN10__cxxabiv117__class_type_infoE" } }
// { dg-final { scan-hidden "_ZTI1A" } }
// { dg-final { scan-hidden "_ZTV1A" } }