diff options
author | Martin Odersky <odersky@gmail.com> | 2016-02-12 12:07:36 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-02-12 12:07:43 +0100 |
commit | fec5b81678c73b3ea9ad8a9daa3ff4b4ad767d46 (patch) | |
tree | 2bf4fb7bf7afcb854864118dc3adabb42d438032 /tests/pending | |
parent | 13b61653439700ca6607074bcded4d714131bdc2 (diff) | |
download | dotty-fec5b81678c73b3ea9ad8a9daa3ff4b4ad767d46.tar.gz dotty-fec5b81678c73b3ea9ad8a9daa3ff4b4ad767d46.tar.bz2 dotty-fec5b81678c73b3ea9ad8a9daa3ff4b4ad767d46.zip |
Add test case for #645
Diffstat (limited to 'tests/pending')
-rw-r--r-- | tests/pending/run/amp.scala | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/pending/run/amp.scala b/tests/pending/run/amp.scala deleted file mode 100644 index da35242a9..000000000 --- a/tests/pending/run/amp.scala +++ /dev/null @@ -1,15 +0,0 @@ -object Test extends dotty.runtime.LegacyApp { - - def foo() = { - def f: Int = 1 - val x = f _ - x - } - - def bar(g: => Int) = { - g _ - } - - Console.println((bar{ Console.println("g called"); 42 })()) - Console.println(foo()()) -} |