diff options
Diffstat (limited to 'test/files/jvm/nooptimise/Foo_1.scala')
-rw-r--r-- | test/files/jvm/nooptimise/Foo_1.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/jvm/nooptimise/Foo_1.scala b/test/files/jvm/nooptimise/Foo_1.scala new file mode 100644 index 0000000000..c6f1b06c8e --- /dev/null +++ b/test/files/jvm/nooptimise/Foo_1.scala @@ -0,0 +1,8 @@ +class Foo_1 { + def foo() { + // optimization will remove this magic 3 from appearing in the source + // so -Ynooptimize should prevent that + val x = 3 + + } +} |