Explorar o código

Added preprocessor tests

Taddeus Kroes %!s(int64=12) %!d(string=hai) anos
pai
achega
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;
+}