diff options
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/spec-private.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/pos/spec-private.scala b/test/files/pos/spec-private.scala new file mode 100644 index 0000000000..7d53bad955 --- /dev/null +++ b/test/files/pos/spec-private.scala @@ -0,0 +1,10 @@ +class Foo { + + def foo[@specialized(Int) T](x: T) = new Object { + private final val myEdges = List(1, 2 , 3) + + def boo { + myEdges + } + } +} |