diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-06-24 21:05:52 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-06-24 21:05:52 +0200 |
commit | bfba16c5074686a5f5252312cc6aa9d19fd375e2 (patch) | |
tree | 8bcdd7501ab54c480d3e26b96944aa8de533f5cf /minic | |
parent | c51c57d8533f03799dfbb5a3cc046919ae0bf79d (diff) | |
download | compilertests-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.c | 0 | ||||
-rw-r--r-- | minic/tests/test2.c | 1 | ||||
-rw-r--r-- | minic/tests/test2_err.c | 1 | ||||
-rw-r--r-- | minic/tests/test3.c | 4 |
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; +} |