summaryrefslogtreecommitdiff
path: root/test/files/pos/bug3175.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-03-14 07:25:15 +0000
committerPaul Phillips <paulp@improving.org>2010-03-14 07:25:15 +0000
commit08437bb245349c347ff1072010bfa8dc00a76256 (patch)
tree556f9d3e61787908cbedcc1e4175c32aa9d5e8ce /test/files/pos/bug3175.scala
parent605b7c5aeb1b513f1cc9d55819c39412443d0dfa (diff)
downloadscala-08437bb245349c347ff1072010bfa8dc00a76256.tar.gz
scala-08437bb245349c347ff1072010bfa8dc00a76256.tar.bz2
scala-08437bb245349c347ff1072010bfa8dc00a76256.zip
Tighten update check in cleanup.
Diffstat (limited to 'test/files/pos/bug3175.scala')
-rw-r--r--test/files/pos/bug3175.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/bug3175.scala b/test/files/pos/bug3175.scala
new file mode 100644
index 0000000000..89bbf8b5fc
--- /dev/null
+++ b/test/files/pos/bug3175.scala
@@ -0,0 +1,7 @@
+object Test {
+ def f(g:{val update:Unit}) = g.update
+
+ def main(args: Array[String]): Unit = {
+
+ }
+}