aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-01-18 17:01:00 +0100
committerMartin Odersky <odersky@gmail.com>2014-01-18 17:01:00 +0100
commit558c608daad156410dc2a854d53409eea1b979a1 (patch)
tree0ddd2634ff75647a3c540f57cb48eb6815a1d940 /tests
parented6dacc5cc241aa0e15963db5a9eeb093b6a9293 (diff)
downloaddotty-558c608daad156410dc2a854d53409eea1b979a1.tar.gz
dotty-558c608daad156410dc2a854d53409eea1b979a1.tar.bz2
dotty-558c608daad156410dc2a854d53409eea1b979a1.zip
More tests.
Diffstat (limited to 'tests')
-rw-r--r--tests/pos/test.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pos/test.scala b/tests/pos/test.scala
new file mode 100644
index 000000000..12af38e02
--- /dev/null
+++ b/tests/pos/test.scala
@@ -0,0 +1,6 @@
+object test {
+
+ val x = 2
+ val y: Int = math.abs(x)
+
+} \ No newline at end of file