Added negative test case
parent
0081277fb1
commit
7f29828081
|
@ -2,7 +2,6 @@ module typeChecking3;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int p = 21;
|
int p = 21;
|
||||||
p=2+p;
|
p=2+p;
|
||||||
int j = 2;
|
int j = 2;
|
||||||
|
@ -17,6 +16,7 @@ p = 4;
|
||||||
p = 4;
|
p = 4;
|
||||||
p = 4;
|
p = 4;
|
||||||
p = 4;
|
p = 4;
|
||||||
|
j=232321213;
|
||||||
|
|
||||||
class F
|
class F
|
||||||
{
|
{
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
module typeChecking3;
|
||||||
|
|
||||||
|
|
||||||
|
p=2;
|
||||||
|
int p = 21;
|
||||||
|
p=2+p;
|
||||||
|
int j = 2;
|
||||||
|
discard "SO far the bottom is done as (p+j)/1";
|
||||||
|
int k = p+j/1;
|
||||||
|
|
||||||
|
discard "getCOntainers, muyst reorder";
|
||||||
|
discard "And include stdalone assignments";
|
||||||
|
p = 4;
|
||||||
|
|
||||||
|
p = 4;
|
||||||
|
p = 4;
|
||||||
|
p = 4;
|
||||||
|
p = 4;
|
||||||
|
j=232321213;
|
||||||
|
|
||||||
|
class F
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue