aboutsummaryrefslogblamecommitdiffstats
path: root/test/vardecl.cpp
blob: 8bce877b74bcd53b3c211c4a67c2cb41a9f283d9 (plain) (tree)
1
2
3
4
5
6
7
8
9

                     
           





                                                
                                




                             
            


                                         
                     
               
namespace vardecl_ns{
int gtesta;

int testFunction(int a, int b);
int testFunction(int a, int b) { return a + b; }

class testClass {
public:
  testClass(int a) : testa(a) {}
  virtual ~testClass();

  void cxxMethod(double a) {}

private:
  int testa;
};

#define vardeclmacro varDeclMacroExpanded
int testvardeclmacro;
}; // namespace