From 4eca2769a97836945d0c28acb1baf2f7dcb9b3ee Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Wed, 16 Nov 2016 19:03:20 +0100 Subject: Move test to neg position --- tests/neg/i1703.scala | 5 +++++ tests/pos/i1703.scala | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 tests/neg/i1703.scala delete mode 100644 tests/pos/i1703.scala diff --git a/tests/neg/i1703.scala b/tests/neg/i1703.scala new file mode 100644 index 000000000..a0c8c337c --- /dev/null +++ b/tests/neg/i1703.scala @@ -0,0 +1,5 @@ +class DuplicateClassName { () => { // error: not a legal self type clause + { () => + } +} +} diff --git a/tests/pos/i1703.scala b/tests/pos/i1703.scala deleted file mode 100644 index 9d17b5e81..000000000 --- a/tests/pos/i1703.scala +++ /dev/null @@ -1,5 +0,0 @@ -class DuplicateClassName { () => { - { () => - } -} -} -- cgit v1.2.3