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.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/CxxOnly/cxxonly.cxx b/Tests/CxxOnly/cxxonly.cxx
index 0911a07..8bd1637 100644
--- a/Tests/CxxOnly/cxxonly.cxx
+++ b/Tests/CxxOnly/cxxonly.cxx
@@ -1,5 +1,6 @@
#include "libcxx1.h"
#include "libcxx2.h"
+extern int testC;
#ifdef _MSC_VER
extern int testCPP;
#endif
@@ -8,6 +9,7 @@ extern int testCPP;
int main()
{
+ testC = 1;
#ifdef _MSC_VER
testCPP = 1;
#endif