ORCA-C/Tests/Spec.Conform/SPC4301.1.CC
2017-10-21 18:40:19 -05:00

14 lines
272 B
C++

/* The first separately compiled file for Special Conformance Test 4.3.0.1 */
/* Function L0 and variables longNum and i are accessed by main. */
long longNum;
int i;
long L0 (int *j)
{
if (i != 4)
return 0;
else
return (long) (*j);
}