aboutsummaryrefslogtreecommitdiff
path: root/tests/run/builder.check
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-02-18 12:55:23 +0100
committerMartin Odersky <odersky@gmail.com>2017-02-18 12:55:23 +0100
commitcf9741297a8bb91a26841d970be38436565a62c8 (patch)
treedee17631dd14c0aa24cff9db35a0921b9dbae035 /tests/run/builder.check
parente9fecd393a3c355a68207da4bb1fa9fcf47eafc9 (diff)
downloaddotty-cf9741297a8bb91a26841d970be38436565a62c8.tar.gz
dotty-cf9741297a8bb91a26841d970be38436565a62c8.tar.bz2
dotty-cf9741297a8bb91a26841d970be38436565a62c8.zip
Bonus test: builder pattern
This shows that the builder pattern can be expressed with implicit function types.
Diffstat (limited to 'tests/run/builder.check')
-rw-r--r--tests/run/builder.check1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/run/builder.check b/tests/run/builder.check
new file mode 100644
index 000000000..48f7d9253
--- /dev/null
+++ b/tests/run/builder.check
@@ -0,0 +1 @@
+Table(Row(Cell(A1), Cell(B1)), Row(Cell(A2), Cell(B2)))