diff options
Diffstat (limited to 'test/files/run/t9298b/VC.scala')
-rw-r--r-- | test/files/run/t9298b/VC.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/run/t9298b/VC.scala b/test/files/run/t9298b/VC.scala new file mode 100644 index 0000000000..bb5978b6e4 --- /dev/null +++ b/test/files/run/t9298b/VC.scala @@ -0,0 +1,8 @@ +class VC(val s: Int) extends AnyVal + +class Client { + def test = { + val vc: VC = new Test().identity(new VC(42)) + assert(vc.s == 42) + } +} |