summaryrefslogtreecommitdiff
path: root/src/msil/ch/epfl/lamp/compiler/msil/tests/JavaTypeTest.java
blob: 96ec1bfeeac8a76834962d225671f043a51d1c92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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);
    }
}