summaryrefslogtreecommitdiffstats
path: root/tests/bugs1612/pr342323/Bean.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs1612/pr342323/Bean.java')
-rw-r--r--tests/bugs1612/pr342323/Bean.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/bugs1612/pr342323/Bean.java b/tests/bugs1612/pr342323/Bean.java
new file mode 100644
index 000000000..d1ab95730
--- /dev/null
+++ b/tests/bugs1612/pr342323/Bean.java
@@ -0,0 +1,11 @@
+package ppp;
+public class Bean {
+ public void m() {
+ Runnable r = new Runnable() { public void run() { System.out.println("class");}};
+ r.run();
+ }
+ public void n() {
+ Runnable r = new Runnable() { public void run() { System.out.println("class");}};
+ r.run();
+ }
+}