aboutsummaryrefslogtreecommitdiff
path: root/tests/debug/sequence.scala
diff options
context:
space:
mode:
authorliu fengyun <liu@fengy.me>2017-02-09 17:24:47 +0100
committerliu fengyun <liu@fengy.me>2017-02-10 19:26:07 +0100
commitc7a557c43221c1fbad4117e63b6cd8c255ddc8f7 (patch)
treed9caf39c785e5b800553aea3f34a59a98064b68f /tests/debug/sequence.scala
parent22056d080e29e53bccd1b1b1ba9ffa2cbe8d0c64 (diff)
downloaddotty-c7a557c43221c1fbad4117e63b6cd8c255ddc8f7.tar.gz
dotty-c7a557c43221c1fbad4117e63b6cd8c255ddc8f7.tar.bz2
dotty-c7a557c43221c1fbad4117e63b6cd8c255ddc8f7.zip
add more debug files to the tests
Diffstat (limited to 'tests/debug/sequence.scala')
-rw-r--r--tests/debug/sequence.scala11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/debug/sequence.scala b/tests/debug/sequence.scala
new file mode 100644
index 000000000..a6c1e9018
--- /dev/null
+++ b/tests/debug/sequence.scala
@@ -0,0 +1,11 @@
+object Test {
+ def main(args: Array[String]): Unit = {
+ var a = 1 + 2 // [break] [step: a + 3]
+ a = a + 3 // [step: 4 + 5]
+ a = 4 + 5 // [step: a * 8]
+ a = a * 8 // [step: 9 * 9]
+ a = 9 * 9 // [step: 34 * 23]
+ a = 34 * 23 // [step: print]
+ print(a) // [cont]
+ }
+} \ No newline at end of file