diff options
author | phaller <hallerp@gmail.com> | 2012-05-06 22:47:08 +0200 |
---|---|---|
committer | phaller <hallerp@gmail.com> | 2012-05-06 22:47:08 +0200 |
commit | b64df780dfc44ae619516b7c16791809cf8c21d0 (patch) | |
tree | c98e6ee68fa3485e80a13e0e8a08178e1dfb2fde /test | |
parent | 7cac6334d4437ff54c4979799574045501f64135 (diff) | |
download | scala-b64df780dfc44ae619516b7c16791809cf8c21d0.tar.gz scala-b64df780dfc44ae619516b7c16791809cf8c21d0.tar.bz2 scala-b64df780dfc44ae619516b7c16791809cf8c21d0.zip |
Add test file in pending/pos
Diffstat (limited to 'test')
-rw-r--r-- | test/pending/pos/t5712.scala | 14 |
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) { } + +} |