Przeglądaj źródła

Added preprocessor tests

Taddeus Kroes 12 lat temu
rodzic
commit
319c584e57

+ 5 - 0
test/basic/check_success/preprocess.cvc

@@ -0,0 +1,5 @@
+#include "civic.h"
+
+export int main() {
+    return 0;
+}

+ 9 - 0
test/basic/functional/preprocess.cvc

@@ -0,0 +1,9 @@
+#include "civic.h"
+
+export int main() {
+    printInt(1);
+    printNewlines(1);
+    printFloat(2.0);
+    printNewlines(1);
+    return 0;
+}