final_assignment_check.java: New file.

2001-08-28  Alexandre Petit-Bianco  <apbianco@redhat.com>

	* libjava.compile/final_assignment_check.java: New file.
	* libjava.compile/final_assignment_check.xfail: Likewise.
	* libjava.compile/final_local_switch.java: Likewise.

(http://gcc.gnu.org/ml/java-patches/2001-q3/msg00342.html )

From-SVN: r45346
This commit is contained in:
Alexandre Petit-Bianco 2001-08-31 21:54:05 -07:00 committed by Alexandre Petit-Bianco
parent 3ed218d4c9
commit bb52725527
4 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,12 @@
class f {
final static char c = 3;
final static byte b = 0.1;
final static short s = 3.5f;
final static int i = 4L;
final static long x = 2.5;
final static float y = 2.6;
final static String S = new Object ();
void foo () {
final int i = 2.1;
}
}