aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/valueclasses/value-class-override-spec.scala
diff options
context:
space:
mode:
authorMartijn Hoekstra <Martijn Hoekstra>2016-09-03 12:10:53 +0200
committerMartijn Hoekstra <Martijn Hoekstra>2016-09-07 22:32:51 +0200
commit32819e2edc88dd06095704c04ed9c2dd0603386f (patch)
tree5ac33b7a4fc11fe5b13aeae26e963e5553e97fad /tests/pos/valueclasses/value-class-override-spec.scala
parent6bce106fea7ce10eefc864a6e7c1351675065880 (diff)
downloaddotty-32819e2edc88dd06095704c04ed9c2dd0603386f.tar.gz
dotty-32819e2edc88dd06095704c04ed9c2dd0603386f.tar.bz2
dotty-32819e2edc88dd06095704c04ed9c2dd0603386f.zip
honor -encoding compiler flag and defaults
rename test/pos/valueclasses to pos_valueclasses tests/pos/valueclasses generates a valueclasses.flags file in /tests/partest-generated/pos that conflicts with the valueClasses.flags file that tests/neg/valueClasses.scala tries to create
Diffstat (limited to 'tests/pos/valueclasses/value-class-override-spec.scala')
-rw-r--r--tests/pos/valueclasses/value-class-override-spec.scala11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/pos/valueclasses/value-class-override-spec.scala b/tests/pos/valueclasses/value-class-override-spec.scala
deleted file mode 100644
index c315be8d0..000000000
--- a/tests/pos/valueclasses/value-class-override-spec.scala
+++ /dev/null
@@ -1,11 +0,0 @@
-package value_class_override_spec
-
-// There are two versions of this tests: one with and one without specialization.
-// The bug was only exposed *without* specialization.
-trait T extends Any {
- def x: Any
-}
-
-final class StringOps(val repr0: String) extends AnyVal with T {
- def x = ()
-}