new type inference test
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1402 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
3cefd7fb6b
commit
2ec2101644
|
@ -0,0 +1,19 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2007 IBM Corporation.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* IBM Corporation - initial API and implementation
|
||||||
|
*******************************************************************************/
|
||||||
|
package typeInference;
|
||||||
|
|
||||||
|
public class TI {
|
||||||
|
public static void foo() {
|
||||||
|
int[] x = new int[0];
|
||||||
|
System.out.println(x[0]);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue