aboutsummaryrefslogtreecommitdiff
path: root/tests/pos
diff options
context:
space:
mode:
authorodersky <odersky@gmail.com>2016-12-15 17:42:45 +0100
committerGitHub <noreply@github.com>2016-12-15 17:42:45 +0100
commit9f2b5ad068c06c62e28a3543218f5c1bc0362f74 (patch)
treebc33fbec19274ae26fe593c4de6ed5d85edf8a62 /tests/pos
parent1773b37286e1b3363b756f0c061ae429b94d9b5d (diff)
parent9b8aaaf899474d3b6ce7b73f637866953f33fd48 (diff)
downloaddotty-9f2b5ad068c06c62e28a3543218f5c1bc0362f74.tar.gz
dotty-9f2b5ad068c06c62e28a3543218f5c1bc0362f74.tar.bz2
dotty-9f2b5ad068c06c62e28a3543218f5c1bc0362f74.zip
Merge pull request #1682 from dotty-staging/vclass
Fix checks related to value classes
Diffstat (limited to 'tests/pos')
-rw-r--r--tests/pos/i1642.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pos/i1642.scala b/tests/pos/i1642.scala
new file mode 100644
index 000000000..2fe67cf18
--- /dev/null
+++ b/tests/pos/i1642.scala
@@ -0,0 +1,2 @@
+class Test1(val x: Int) extends AnyVal
+class Test2(val y: Test1) extends AnyVal