diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/files/neg/choices.check | 2 | ||||
-rw-r--r-- | test/files/neg/choices.flags | 1 | ||||
-rw-r--r-- | test/files/neg/choices.scala | 5 | ||||
-rw-r--r-- | test/files/pos/switchUnbox-pos.log | 2 | ||||
-rw-r--r-- | test/files/pos/switchUnbox.flags | 1 | ||||
-rw-r--r-- | test/files/pos/switchUnbox.scala | 3 |
6 files changed, 10 insertions, 4 deletions
diff --git a/test/files/neg/choices.check b/test/files/neg/choices.check new file mode 100644 index 0000000000..3e63f9999d --- /dev/null +++ b/test/files/neg/choices.check @@ -0,0 +1,2 @@ +partest error: bad flags: -Ylinearizer +one error found diff --git a/test/files/neg/choices.flags b/test/files/neg/choices.flags new file mode 100644 index 0000000000..5464a18c5d --- /dev/null +++ b/test/files/neg/choices.flags @@ -0,0 +1 @@ +-Ylinearizer
\ No newline at end of file diff --git a/test/files/neg/choices.scala b/test/files/neg/choices.scala new file mode 100644 index 0000000000..8827494874 --- /dev/null +++ b/test/files/neg/choices.scala @@ -0,0 +1,5 @@ +object Test { + def main(args: Array[String]): Unit = { + + } +} diff --git a/test/files/pos/switchUnbox-pos.log b/test/files/pos/switchUnbox-pos.log new file mode 100644 index 0000000000..9c146726d7 --- /dev/null +++ b/test/files/pos/switchUnbox-pos.log @@ -0,0 +1,2 @@ +partest error: bad flags: -Ysqueeze:on +one error found diff --git a/test/files/pos/switchUnbox.flags b/test/files/pos/switchUnbox.flags deleted file mode 100644 index cdf5f84ede..0000000000 --- a/test/files/pos/switchUnbox.flags +++ /dev/null @@ -1 +0,0 @@ --Ysqueeze:on diff --git a/test/files/pos/switchUnbox.scala b/test/files/pos/switchUnbox.scala index 4f5467de29..1d4b742ff9 100644 --- a/test/files/pos/switchUnbox.scala +++ b/test/files/pos/switchUnbox.scala @@ -1,6 +1,3 @@ -// this test has accompanying .flags file -// that contains -Xsqueeze:on -// object Foo { var xyz: (Int, String) = (1, "abc") xyz._1 match { |