summaryrefslogtreecommitdiff
path: root/test/files/jvm/deprecation/Use_2.java
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@epfl.ch>2009-12-14 12:01:53 +0000
committerLukas Rytz <lukas.rytz@epfl.ch>2009-12-14 12:01:53 +0000
commit461c798dbf0653ed8d89d7bd6cbd94366f6572f7 (patch)
treea0abf0216ed107e2b6edcc7cc847fa39ae52d514 /test/files/jvm/deprecation/Use_2.java
parent1db89021e52efd946054c98add2f855d050453c4 (diff)
downloadscala-461c798dbf0653ed8d89d7bd6cbd94366f6572f7.tar.gz
scala-461c798dbf0653ed8d89d7bd6cbd94366f6572f7.tar.bz2
scala-461c798dbf0653ed8d89d7bd6cbd94366f6572f7.zip
integration of java and scala deprecation
Diffstat (limited to 'test/files/jvm/deprecation/Use_2.java')
-rw-r--r--test/files/jvm/deprecation/Use_2.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/jvm/deprecation/Use_2.java b/test/files/jvm/deprecation/Use_2.java
new file mode 100644
index 0000000000..65da8a8fac
--- /dev/null
+++ b/test/files/jvm/deprecation/Use_2.java
@@ -0,0 +1,10 @@
+class Use_2 {
+ public int test() {
+ Test u = new Test();
+ Test.Inner a = u.new Inner();
+ int i = a.f();
+ int j = a.g();
+ a.g_$eq(5);
+ return i + j;
+ }
+} \ No newline at end of file