diff options
Diffstat (limited to 'src/msil/ch/epfl/lamp/compiler/msil/tests/JavaTypeTest.java')
-rw-r--r-- | src/msil/ch/epfl/lamp/compiler/msil/tests/JavaTypeTest.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/msil/ch/epfl/lamp/compiler/msil/tests/JavaTypeTest.java b/src/msil/ch/epfl/lamp/compiler/msil/tests/JavaTypeTest.java new file mode 100644 index 0000000000..0c2d12aa0f --- /dev/null +++ b/src/msil/ch/epfl/lamp/compiler/msil/tests/JavaTypeTest.java @@ -0,0 +1,19 @@ +// $Id$ + +package ch.epfl.lamp.compiler.msil.tests; + +import ch.epfl.lamp.compiler.msil.*; +import ch.epfl.lamp.compiler.msil.util.VJSAssembly; + +public class JavaTypeTest { + + public static void main(String[] args) { + if (args.length < 1) { + System.err.println("usage: java test.JavaTypeTest classname"); + System.exit(1); + } + + Type type = VJSAssembly.VJSLIB.GetType(args[0]); + MembersTest.dumpType(System.out, type); + } +} |