diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pos/i1447.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/pos/i1447.scala b/tests/pos/i1447.scala new file mode 100644 index 000000000..661fc3917 --- /dev/null +++ b/tests/pos/i1447.scala @@ -0,0 +1,10 @@ +case object X + +object Test { + val Alias = X + + val x: X.type = Alias + + type Alias = X.type + val a: Alias = Alias +} |