summaryrefslogtreecommitdiffstats
path: root/Tests/CxxOnly/cxxonly.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CxxOnly/cxxonly.cxx')
-rw-r--r--Tests/CxxOnly/cxxonly.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CxxOnly/cxxonly.cxx b/Tests/CxxOnly/cxxonly.cxx
index 99ccf3b..2996e65 100644
--- a/Tests/CxxOnly/cxxonly.cxx
+++ b/Tests/CxxOnly/cxxonly.cxx
@@ -1,10 +1,14 @@
#include "libcxx1.h"
#include "libcxx2.h"
+extern int testCPP;
+extern int testCXX;
+extern int testCplusplus;
#include <stdio.h>
int main ()
{
+ testCPP = testCXX= testCplusplus = 1;
if ( LibCxx1Class::Method() != 2.0 )
{
printf("Problem with libcxx1\n");