diff options
Diffstat (limited to 'tests/pos')
-rw-r--r-- | tests/pos/pickleinf.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/pos/pickleinf.scala b/tests/pos/pickleinf.scala new file mode 100644 index 000000000..9132f1a17 --- /dev/null +++ b/tests/pos/pickleinf.scala @@ -0,0 +1,9 @@ +class Bar[N] { + def bar(name: N, dummy: Int = 42): N = name +} + +object Test { + def test(): Unit = { + (new Bar).bar(10) + } +} |