summaryrefslogtreecommitdiff
path: root/minic
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-06-24 21:05:52 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-06-24 21:05:52 +0200
commitbfba16c5074686a5f5252312cc6aa9d19fd375e2 (patch)
tree8bcdd7501ab54c480d3e26b96944aa8de533f5cf /minic
parentc51c57d8533f03799dfbb5a3cc046919ae0bf79d (diff)
downloadcompilertests-bfba16c5074686a5f5252312cc6aa9d19fd375e2.tar.gz
compilertests-bfba16c5074686a5f5252312cc6aa9d19fd375e2.tar.bz2
added some primitive C programs for testing minic
Diffstat (limited to 'minic')
-rw-r--r--minic/tests/test1.c0
-rw-r--r--minic/tests/test2.c1
-rw-r--r--minic/tests/test2_err.c1
-rw-r--r--minic/tests/test3.c4
4 files changed, 6 insertions, 0 deletions
diff --git a/minic/tests/test1.c b/minic/tests/test1.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/minic/tests/test1.c
diff --git a/minic/tests/test2.c b/minic/tests/test2.c
new file mode 100644
index 0000000..3e6ea4a
--- /dev/null
+++ b/minic/tests/test2.c
@@ -0,0 +1 @@
+/* comment */
diff --git a/minic/tests/test2_err.c b/minic/tests/test2_err.c
new file mode 100644
index 0000000..323e82a
--- /dev/null
+++ b/minic/tests/test2_err.c
@@ -0,0 +1 @@
+/* comment *
diff --git a/minic/tests/test3.c b/minic/tests/test3.c
new file mode 100644
index 0000000..219c0b8
--- /dev/null
+++ b/minic/tests/test3.c
@@ -0,0 +1,4 @@
+int main( void )
+{
+ return 42;
+}