|
@@ -16,6 +16,8 @@ extern int test_ABI_C(void);
|
|
|
extern int test_INT_C(void);
|
|
extern int test_INT_C(void);
|
|
|
extern int test_ABI_CXX(void);
|
|
extern int test_ABI_CXX(void);
|
|
|
extern int test_INT_CXX(void);
|
|
extern int test_INT_CXX(void);
|
|
|
|
|
+extern int test_include_C(void);
|
|
|
|
|
+extern int test_include_CXX(void);
|
|
|
#ifdef __cplusplus
|
|
#ifdef __cplusplus
|
|
|
} // extern "C"
|
|
} // extern "C"
|
|
|
#endif
|
|
#endif
|
|
@@ -26,10 +28,12 @@ int main(void)
|
|
|
#ifdef KWIML_LANGUAGE_C
|
|
#ifdef KWIML_LANGUAGE_C
|
|
|
result = test_ABI_C() && result;
|
|
result = test_ABI_C() && result;
|
|
|
result = test_INT_C() && result;
|
|
result = test_INT_C() && result;
|
|
|
|
|
+ result = test_include_C() && result;
|
|
|
#endif
|
|
#endif
|
|
|
#ifdef KWIML_LANGUAGE_CXX
|
|
#ifdef KWIML_LANGUAGE_CXX
|
|
|
result = test_ABI_CXX() && result;
|
|
result = test_ABI_CXX() && result;
|
|
|
result = test_INT_CXX() && result;
|
|
result = test_INT_CXX() && result;
|
|
|
|
|
+ result = test_include_CXX() && result;
|
|
|
#endif
|
|
#endif
|
|
|
return result? 0 : 1;
|
|
return result? 0 : 1;
|
|
|
}
|
|
}
|