* configure.ac: New switch for disabling -O2 (--disable-optimizations).
[cacao.git] / tests / checkcast.java
1 class checkcast {
2         public static void main(String[] args)  {
3                 Object o1 = new String();
4                 Object o2 = new Integer(1);
5                 String s1 = (String)o1;
6                 String s2 = (String)o2;
7         }
8 }