OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [gold/] [testsuite/] [protected_main_1.cc] - Diff between revs 27 and 159

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 27 Rev 159
Line 26... Line 26...
// of f1 in the shared library.
// of f1 in the shared library.
 
 
extern bool t1();
extern bool t1();
extern bool t2();
extern bool t2();
 
 
 
extern "C" int f2();
 
extern int (*get_f2_addr()) ();
 
 
int
int
main()
main()
{
{
  assert(t1());
  assert(t1());
  assert(t2());
  assert(t2());
 
  assert(&f2 == get_f2_addr());
}
}
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.