Retro68/gcc/libjava/testsuite/libjava.lang/pr100.java

14 lines
261 B
Java
Raw Normal View History

2012-03-27 23:13:14 +00:00
// PR 100
// Second call to hashcode causes SEGV when dynamically linking.
public class pr100
{
public static void main(String[] args) {
pr100 ht = new pr100();
System.err.println(ht.hashCode());
System.err.println(ht.getClass().hashCode());
}
}