diff options
Diffstat (limited to 'tests/untried/neg/t7235.check')
-rw-r--r-- | tests/untried/neg/t7235.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/untried/neg/t7235.check b/tests/untried/neg/t7235.check new file mode 100644 index 000000000..357a3dfd8 --- /dev/null +++ b/tests/untried/neg/t7235.check @@ -0,0 +1,4 @@ +t7235.scala:9: error: implementation restriction: cannot reify refinement type trees with non-empty bodies + val Block(List(ValDef(_, _, tpt: CompoundTypeTree, _)), _) = reify{ val x: C { def x: Int } = ??? }.tree + ^ +one error found |