summaryrefslogtreecommitdiff
path: root/test/files/run/proxy.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/proxy.scala')
-rw-r--r--test/files/run/proxy.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/proxy.scala b/test/files/run/proxy.scala
new file mode 100644
index 0000000000..d9c7bcf69f
--- /dev/null
+++ b/test/files/run/proxy.scala
@@ -0,0 +1,9 @@
+object Test extends Application {
+ val p = new Proxy {
+ def self = 2
+ }
+ println(p equals 1)
+ println(p equals 2)
+ println(p equals 3)
+ println(p equals null)
+} \ No newline at end of file