summaryrefslogtreecommitdiffstats
path: root/Tests/NewlineArgs/cxxonly.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/NewlineArgs/cxxonly.cxx')
-rw-r--r--Tests/NewlineArgs/cxxonly.cxx19
1 files changed, 19 insertions, 0 deletions
diff --git a/Tests/NewlineArgs/cxxonly.cxx b/Tests/NewlineArgs/cxxonly.cxx
new file mode 100644
index 0000000..05d55e4
--- /dev/null
+++ b/Tests/NewlineArgs/cxxonly.cxx
@@ -0,0 +1,19 @@
+#include "libcxx1.h"
+#include "libcxx2.h"
+
+#include <stdio.h>
+
+int main ()
+{
+ if ( LibCxx1Class::Method() != 2.0 )
+ {
+ printf("Problem with libcxx1\n");
+ return 1;
+ }
+#ifdef TEST_FLAG_3
+ return 0;
+#else
+ printf("Problem with libcxx2.h include dir probably!\n");
+ return 1;
+#endif
+}