diff options
author | Paul Phillips <paulp@improving.org> | 2012-03-21 14:12:25 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-03-21 14:14:51 -0700 |
commit | c535aec63f6e30b0b689ad60b1dd2f1b78c66039 (patch) | |
tree | af7401c6920319a5ebbc495d0b4c61e9363367ec /test/files/run/delay-good.check | |
parent | a36a05933499acd3aeeb414d36099ea8ae6e6ca9 (diff) | |
download | scala-c535aec63f6e30b0b689ad60b1dd2f1b78c66039.tar.gz scala-c535aec63f6e30b0b689ad60b1dd2f1b78c66039.tar.bz2 scala-c535aec63f6e30b0b689ad60b1dd2f1b78c66039.zip |
An illustrative delayedInit test.
Diffstat (limited to 'test/files/run/delay-good.check')
-rw-r--r-- | test/files/run/delay-good.check | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/test/files/run/delay-good.check b/test/files/run/delay-good.check new file mode 100644 index 0000000000..8eb04c7cff --- /dev/null +++ b/test/files/run/delay-good.check @@ -0,0 +1,41 @@ + + +// new C { } +-A -B -C + A+ B+ C+ + +// new C { 5 } +-A -B -C + A+ B+ C+ + +// new D() +-A -B -C -D + A+ B+ C+ D+ + +// new D() { } +-A -B -C -D + A+ B+ C+ D+ + +// new D() { val x = 5 } +-A -B -C -D + A+ B+ C+ D+ + +// new { val x = 5 } with D() +-A -B -C -D + A+ B+ C+ D+ + +// new E() { val x = 5 } +-A -B -C -D -E + A+ B+ C+ D+ E+ + +// new { val x = 5 } with E() +-A -B -C -D -E + A+ B+ C+ D+ E+ + +// new { val x = 5 } with E() { } +-A -B -C -D -E + A+ B+ C+ D+ E+ + +// new { val x = 5 } with E() { 5 } +-A -B -C -D -E + A+ B+ C+ D+ E+ |