diff options
author | Som Snytt <som.snytt@gmail.com> | 2015-02-28 08:57:39 -0800 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2015-02-28 08:57:39 -0800 |
commit | 2030f3a314ae2444fc8dbf225542de4ecafcbf40 (patch) | |
tree | cf7c9091364ff30fbbc2ee29b27f33bbc616207c /test/files/pos | |
parent | abc12d772c30e4e54f5740569950c730de008c2e (diff) | |
download | scala-2030f3a314ae2444fc8dbf225542de4ecafcbf40.tar.gz scala-2030f3a314ae2444fc8dbf225542de4ecafcbf40.tar.bz2 scala-2030f3a314ae2444fc8dbf225542de4ecafcbf40.zip |
SI-7784 Extend test with enum constant
Because we can.
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/t7784.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/t7784.scala b/test/files/pos/t7784.scala index 4260ca26a2..e6824a4203 100644 --- a/test/files/pos/t7784.scala +++ b/test/files/pos/t7784.scala @@ -6,4 +6,8 @@ object Test { final val x = classOf[Object] var y: x.type = x y = x + + final val e = Thread.State.NEW + var e1: e.type = e + e1 = e } |