Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / libjava / testsuite / libjava.lang / PR16867.java
blob6862892304fca07f8ecd5cd808f92a83f81e2c8d
1 /* SSA-DCE was removing the initialization of the temporary object
2 in getFoo because it wasn't realizing that the pointer was needed
3 outside of it. */
5 public class PR16867
7 public static Object[] getFoo()
9 return new Object[] {"OK"};
12 public static void main(String[] args)
14 Object[] a = getFoo();
15 System.out.println(a[0]);