aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/pos/ensuring.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/pos/ensuring.scala')
-rw-r--r--tests/pending/pos/ensuring.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/pending/pos/ensuring.scala b/tests/pending/pos/ensuring.scala
new file mode 100644
index 000000000..7014d3567
--- /dev/null
+++ b/tests/pending/pos/ensuring.scala
@@ -0,0 +1,5 @@
+object test {
+
+ def foo(x: Int) = x + 1 ensuring { y => y >= 0 }
+
+}