Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add runtime test for %extend and nested union

  • Loading branch information...
commit 5f3ee109c8dd49fe7c6021c595a4afd648a129e6 1 parent 84e1b55
@wsfulton wsfulton authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 Examples/test-suite/java/nested_extend_c_runme.java
View
7 Examples/test-suite/java/nested_extend_c_runme.java
@@ -34,5 +34,12 @@ public static void main(String argv[]) throws Throwable
if (low.low_extend() != 99)
throw new RuntimeException("test failed");
}
+ {
+ FOO_bar foobar = new FOO_bar();
+ foobar.setD(1234);
+ if (foobar.getD() != 1234)
+ throw new RuntimeException("test failed");
+ foobar.bar_extend();
+ }
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.