I found my problem - I had forgotten about the cloned and generated
constructors.
For this case, there were 9 constructors generated - 3 sets of three with names
of 'CTestClass', '__base_ctor' and '__comp_ctor'. The first two sets of
constructors took references as arguments, I'm assuming copy
I am building a GCC plugin and am trying to create a call to a constructor for
a global variable. The class is declared in a .cpp file and I have global
instance of the class declared in the file as well. The class declaration for
the global instance I am trying to create follows: