diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-05-02 16:11:34 +0200 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-05-02 16:11:34 +0200 |
commit | e9ed9d4280246fece2268e69cca0fe316ba19b98 (patch) | |
tree | 5e146f48e2667d73967d621b532eb6d359257bf2 /test/files | |
parent | 89d069792717c206da21abecf3f825756182f465 (diff) | |
download | scala-e9ed9d4280246fece2268e69cca0fe316ba19b98.tar.gz scala-e9ed9d4280246fece2268e69cca0fe316ba19b98.tar.bz2 scala-e9ed9d4280246fece2268e69cca0fe316ba19b98.zip |
SI-5542 closed by test case
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/t5542.flags | 1 | ||||
-rw-r--r-- | test/files/pos/t5542.scala | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/t5542.flags b/test/files/pos/t5542.flags new file mode 100644 index 0000000000..464cc20ea6 --- /dev/null +++ b/test/files/pos/t5542.flags @@ -0,0 +1 @@ +-Xfatal-warnings -unchecked
\ No newline at end of file diff --git a/test/files/pos/t5542.scala b/test/files/pos/t5542.scala new file mode 100644 index 0000000000..80b8cef030 --- /dev/null +++ b/test/files/pos/t5542.scala @@ -0,0 +1,3 @@ +class Test { + Option(3) match { case Some(n) => n; case None => 0 } +}
\ No newline at end of file |