From d576a53cd2bddc7fc9724d9645d810622d54d3e4 Mon Sep 17 00:00:00 2001 From: pradel Date: Tue, 17 Jun 2008 09:32:02 +0000 Subject: added tests for #1035 and #1038 to pending --- test/pending/neg/t1038.check | 4 ++++ test/pending/neg/t1038.scala | 7 +++++++ test/pending/pos/t1038.scala | 7 +++++++ 3 files changed, 18 insertions(+) create mode 100644 test/pending/neg/t1038.check create mode 100644 test/pending/neg/t1038.scala create mode 100644 test/pending/pos/t1038.scala (limited to 'test') diff --git a/test/pending/neg/t1038.check b/test/pending/neg/t1038.check new file mode 100644 index 0000000000..3bfd479f42 --- /dev/null +++ b/test/pending/neg/t1038.check @@ -0,0 +1,4 @@ +t1038.scala:4: error: wrong number of arguments for constructor X: (Int)X + val a = new X + ^ +one error found diff --git a/test/pending/neg/t1038.scala b/test/pending/neg/t1038.scala new file mode 100644 index 0000000000..7157aafa06 --- /dev/null +++ b/test/pending/neg/t1038.scala @@ -0,0 +1,7 @@ +class X(x : Int) + +object Y { + val a = new X + import a._ + implicit val b : Int = 1 +} diff --git a/test/pending/pos/t1038.scala b/test/pending/pos/t1038.scala new file mode 100644 index 0000000000..7157aafa06 --- /dev/null +++ b/test/pending/pos/t1038.scala @@ -0,0 +1,7 @@ +class X(x : Int) + +object Y { + val a = new X + import a._ + implicit val b : Int = 1 +} -- cgit v1.2.3