mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-08-16 16:29:02 +00:00
13 lines
258 B
C++
13 lines
258 B
C++
/* Conformance Test 2.4.0.2: Ensure =- is assigment followed by unary minus */
|
|
main ()
|
|
{
|
|
int a;
|
|
|
|
a = 3;
|
|
a =- 2;
|
|
if (a == -2)
|
|
printf ("Passed Conformance Test 2.4.0.2\n");
|
|
else
|
|
printf ("Failed Conformance Test 2.4.0.2\n");
|
|
}
|