From 60463a8721728545d7d626d96f77e8688084c71f Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Sun, 24 Apr 2011 19:16:10 +0000 Subject: Added warning when someone tries to return a no... Added warning when someone tries to return a non-Unit value from a Unit method, no review. --- test/files/neg/unit-returns-value.flags | 1 + 1 file changed, 1 insertion(+) create mode 100644 test/files/neg/unit-returns-value.flags (limited to 'test/files/neg/unit-returns-value.flags') diff --git a/test/files/neg/unit-returns-value.flags b/test/files/neg/unit-returns-value.flags new file mode 100644 index 0000000000..e8fb65d50c --- /dev/null +++ b/test/files/neg/unit-returns-value.flags @@ -0,0 +1 @@ +-Xfatal-warnings \ No newline at end of file -- cgit v1.2.3