ORCA-C/Tests/Conformance/C2.4.0.1.CC
2017-10-21 18:40:19 -05:00

13 lines
256 B
C++

/* Conformance Test 2.4.0.1: Ensure =+ is assigment followed by unary plus */
main ()
{
int a;
a = 3;
a =+ 2;
if (a == 2)
printf ("Passed Conformance Test 2.4.0.1\n");
else
printf ("Failed Conformance Test 2.4.0.1\n");
}