aboutsummaryrefslogtreecommitdiff
path: root/tests/tests2
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests2')
-rw-r--r--tests/tests2/03_struct.c2
-rw-r--r--tests/tests2/Makefile3
2 files changed, 1 insertions, 4 deletions
diff --git a/tests/tests2/03_struct.c b/tests/tests2/03_struct.c
index df0d3e7..c5d48c5 100644
--- a/tests/tests2/03_struct.c
+++ b/tests/tests2/03_struct.c
@@ -6,7 +6,7 @@ struct fred
int natasha;
};
-void main()
+int main()
{
struct fred bloggs;
diff --git a/tests/tests2/Makefile b/tests/tests2/Makefile
index 369ed47..51dc38d 100644
--- a/tests/tests2/Makefile
+++ b/tests/tests2/Makefile
@@ -96,6 +96,3 @@ all test: $(TESTS)
clean:
rm -vf fred.txt *.output
-
-Makefile: $(top_srcdir)/tests/tests2/Makefile
- cp $< $@