diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/spec-partially.flags | 1 | ||||
-rw-r--r-- | test/files/pos/spec-partially.scala | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/spec-partially.flags b/test/files/pos/spec-partially.flags new file mode 100644 index 0000000000..a5f3e74f73 --- /dev/null +++ b/test/files/pos/spec-partially.flags @@ -0,0 +1 @@ +-Yspecialized diff --git a/test/files/pos/spec-partially.scala b/test/files/pos/spec-partially.scala new file mode 100644 index 0000000000..90778e42a8 --- /dev/null +++ b/test/files/pos/spec-partially.scala @@ -0,0 +1,5 @@ +/** Test case for partially specialized classes. see #2880. */ + +class Arc[State, @specialized T](label: T, to: State) + + |