summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphaller <hallerp@gmail.com>2012-05-06 22:47:08 +0200
committerphaller <hallerp@gmail.com>2012-05-06 22:47:08 +0200
commitb64df780dfc44ae619516b7c16791809cf8c21d0 (patch)
treec98e6ee68fa3485e80a13e0e8a08178e1dfb2fde
parent7cac6334d4437ff54c4979799574045501f64135 (diff)
downloadscala-b64df780dfc44ae619516b7c16791809cf8c21d0.tar.gz
scala-b64df780dfc44ae619516b7c16791809cf8c21d0.tar.bz2
scala-b64df780dfc44ae619516b7c16791809cf8c21d0.zip
Add test file in pending/pos
-rw-r--r--test/pending/pos/t5712.scala14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/pending/pos/t5712.scala b/test/pending/pos/t5712.scala
new file mode 100644
index 0000000000..31f365028a
--- /dev/null
+++ b/test/pending/pos/t5712.scala
@@ -0,0 +1,14 @@
+import scala.tools.nsc._
+
+object Test {
+
+ // works
+ def mkReifier(global: Global)(typer: global.analyzer.Typer) = typer
+
+/*
+<console>:10: error: not found: value global
+ class Reifier(global: Global)(typer: global.analyzer.Typer) { }
+*/
+ class Reifier(global: Global)(typer: global.analyzer.Typer) { }
+
+}