URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [visibility/] [template10.C] - Rev 696
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/51930
// { dg-require-visibility "" }
// { dg-options -fvisibility=hidden }
// { dg-final { scan-not-hidden "_Z8testfuncI3fooEvv" } }
struct foo { };
template<typename T>
__attribute__ ((visibility("default")))
void testfunc();
template<typename T> void testfunc() { }
template
__attribute__ ((visibility("default")))
void testfunc<foo>();
Go to most recent revision | Compare with Previous | Blame | View Log