diff options
author | aclement <aclement> | 2008-02-20 21:07:44 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-02-20 21:07:44 +0000 |
commit | 09bd9cbc83d87fa910e323003707a1ae95a96750 (patch) | |
tree | f78066032cdc093ffed8113603cbd74313465c30 /tests/bugs160/pr214559/DeclareParentsPrecedenceTest.java | |
parent | f836185807e97bdd7f300a5f615b6234b84d1ee6 (diff) | |
download | aspectj-09bd9cbc83d87fa910e323003707a1ae95a96750.tar.gz aspectj-09bd9cbc83d87fa910e323003707a1ae95a96750.zip |
214559: tests and fix: cope with varying orderings for interdependant declare parents statements.
Diffstat (limited to 'tests/bugs160/pr214559/DeclareParentsPrecedenceTest.java')
-rw-r--r-- | tests/bugs160/pr214559/DeclareParentsPrecedenceTest.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/bugs160/pr214559/DeclareParentsPrecedenceTest.java b/tests/bugs160/pr214559/DeclareParentsPrecedenceTest.java new file mode 100644 index 000000000..fdf77f02c --- /dev/null +++ b/tests/bugs160/pr214559/DeclareParentsPrecedenceTest.java @@ -0,0 +1,8 @@ + +public class DeclareParentsPrecedenceTest { + public static void main(String[]argv) { + TestClass t = new TestClass(); + if (!(t instanceof Interface1)) throw new RuntimeException("t not instanceof Interface1"); + if (!(t instanceof Interface1TestClass)) throw new RuntimeException("t not instanceof Interface1TestClass"); + } +} |