mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-01-02 19:29:21 +00:00
1 line
384 B
C++
Executable File
1 line
384 B
C++
Executable File
/* Conformance Test 3.3.9.1: Verification of token merging in macro */
|
|
/* expansions */
|
|
|
|
#define INCR(j,k) j##k
|
|
|
|
main ()
|
|
{
|
|
int x;
|
|
|
|
x = 3;
|
|
x = INCR (+, +) x;
|
|
if (x != 4)
|
|
goto Fail;
|
|
|
|
printf ("Passed Conformance Test 3.3.9.1\n");
|
|
return;
|
|
|
|
Fail:
|
|
printf ("Failed Conformance Test 3.3.9.1\n");
|
|
}
|