source:
java2python/core/src/test/cyclicref/testcode/CyclicRef.java
Last change on this file was 1186, checked in by , 7 weeks ago | |
---|---|
File size: 257 bytes |
Line | |
---|---|
1 | package testcode; |
2 | |
3 | /** |
4 | * Test translation of cyclic refs. P refers to Q which refers to P. |
5 | */ |
6 | public class CyclicRef { |
7 | public static void main(String[] args) { |
8 | P p = new P(); |
9 | Q q = new Q(); |
10 | p.join(q); |
11 | q.join(p); |
12 | System.out.println("ok"); |
13 | } |
14 | |
15 | } |
Note:
See TracBrowser
for help on using the repository browser.