source: rtems/testsuites/libtests/dl04/dl-o4.cpp @ 381c42b

5
Last change on this file since 381c42b was 381c42b, checked in by Chris Johns <chrisj@…>, on 08/12/16 at 09:18:38

testsuite: Add libdl/dl04 cache test.

  • Property mode set to 100644
File size: 339 bytes
Line 
1class Foo {
2public:
3  Foo() {};
4  ~Foo() {};
5
6  virtual void f1() {};
7  virtual void f2() {};
8  virtual void f3() {};
9  virtual void f4() {};
10  virtual void f5() {};
11  virtual void f6() {};
12  virtual void f7() {};
13};
14
15class Bar : public Foo {
16};
17
18void baz(void)
19{
20  Bar b;
21
22  b.f1();
23}
24
25extern "C" {
26  void func(void)
27  {
28    baz();
29  }
30}
Note: See TracBrowser for help on using the repository browser.