-D text=hello -D num=42 -D flag test_define.nit
-e 'print "hello world"'
-n -e 'print line' test_prog/README.md test_prog/test_prog.nit
+test_ffi_c_interpreter.nit
--- /dev/null
+# This file is part of NIT ( http://www.nitlanguage.org ).
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+import core::kernel
+
+fun foo `{ printf("FOO\n"); `}
+fun bar(i: Int) `{ printf("BAR %ld\n", i); `}
+fun baz: Int `{ printf("BAZ\n"); return 42; `}
+
+foo
+bar(1)
+bar(baz+1)