From b64df780dfc44ae619516b7c16791809cf8c21d0 Mon Sep 17 00:00:00 2001 From: phaller Date: Sun, 6 May 2012 22:47:08 +0200 Subject: Add test file in pending/pos --- test/pending/pos/t5712.scala | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/pending/pos/t5712.scala (limited to 'test/pending/pos') 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 + +/* +:10: error: not found: value global + class Reifier(global: Global)(typer: global.analyzer.Typer) { } +*/ + class Reifier(global: Global)(typer: global.analyzer.Typer) { } + +} -- cgit v1.2.3