aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/hashhash-overloads.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/hashhash-overloads.scala')
-rw-r--r--tests/untried/pos/hashhash-overloads.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/untried/pos/hashhash-overloads.scala b/tests/untried/pos/hashhash-overloads.scala
new file mode 100644
index 000000000..40519bae0
--- /dev/null
+++ b/tests/untried/pos/hashhash-overloads.scala
@@ -0,0 +1,6 @@
+object Test {
+ def f = ().##
+ def g = 5f.##
+ def h = ({ 5 ; println("abc") }).##
+ def f2 = null.##
+}