diff options
Diffstat (limited to 'test/fielddecl.cpp')
-rw-r--r-- | test/fielddecl.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/fielddecl.cpp b/test/fielddecl.cpp new file mode 100644 index 0000000..6646afd --- /dev/null +++ b/test/fielddecl.cpp @@ -0,0 +1,27 @@ + +namespace fielddecl_ns{ +#define fieldmacro fieldthree + +struct testStruct { + int fieldone; + float fieldtwo; + int fieldmacro; +}; + +union testUnion { + int fieldone; + bool fieldtwo; +}; + +class testClass { +public: + testClass(void); + virtual ~testClass(); + + void myMethod(void); + +private: + int an_arg; + int another_arg; +}; +} // namespace |