aboutsummaryrefslogtreecommitdiffstats
path: root/test/fielddecl.cpp
blob: 82f5d1f166daeb217cb3afab74eb599d6c33f238 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
namespace fielddecl_ns{
#define fieldmacro fieldthree

struct testStruct {
  int fieldone;
  float testfieldtwo;
  int fieldmacro;
};

union testUnion {
  int testfieldone;
  bool fieldtwo;
};

class testClass {
public:
  testClass(void);
  virtual ~testClass();

  void testMethod(void);

private:
  int an_arg;
  int another_arg;
};
} // namespace