Skip to content

Commit fbc937c

Browse files
committed
Adding a simple test file
1 parent 779c068 commit fbc937c

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

test/header.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
class C {
2+
3+
public:
4+
C() { bar(); }
5+
void bar();
6+
7+
};

test/test1.cpp

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#include "header.h"
2+
3+
namespace AliceO2 {
4+
class A {
5+
double mGood;
6+
double fBad;
7+
8+
public:
9+
void interface1();
10+
void interface2();
11+
};
12+
13+
class B {
14+
public:
15+
void foo();
16+
};
17+
18+
void consumer(A &a, B &b, C &c){
19+
a.interface1();
20+
b.foo();
21+
c.bar();
22+
}
23+
}

0 commit comments

Comments
 (0)