summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
Diffstat (limited to 'test/files')
-rw-r--r--test/files/pos/noproductN.flags1
-rw-r--r--test/files/pos/noproductN.scala2
2 files changed, 3 insertions, 0 deletions
diff --git a/test/files/pos/noproductN.flags b/test/files/pos/noproductN.flags
new file mode 100644
index 0000000000..14b05e7354
--- /dev/null
+++ b/test/files/pos/noproductN.flags
@@ -0,0 +1 @@
+-Yno-productN \ No newline at end of file
diff --git a/test/files/pos/noproductN.scala b/test/files/pos/noproductN.scala
new file mode 100644
index 0000000000..856d960b7d
--- /dev/null
+++ b/test/files/pos/noproductN.scala
@@ -0,0 +1,2 @@
+object Foo { type S = String }
+case class Foo(x: Foo.S) { }