aboutsummaryrefslogblamecommitdiffstats
path: root/test/fielddecl.cpp
blob: 82f5d1f166daeb217cb3afab74eb599d6c33f238 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11





                             
                     



                 
                   







                       
                        





                  
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