aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t3792.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/t3792.scala')
-rw-r--r--tests/pos/t3792.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pos/t3792.scala b/tests/pos/t3792.scala
new file mode 100644
index 000000000..364d46317
--- /dev/null
+++ b/tests/pos/t3792.scala
@@ -0,0 +1,4 @@
+object Test {
+ type Hui = Nil.type
+ val n: Hui = Nil
+}