Files
cappuccino/Tests/Objective-J/Preprocessor/OutputTests/Misc/preprocess-if-directives.j
T
Martin Carlberg 392aafb360 Revert "Revert "New: Added test cases for some preprocess directives in OutputTest.j""
This reverts commit 5e6c89ca8b.

Conflicts:
	Tests/Objective-J/Preprocessor/OutputTests/OutputTest.j
2013-05-16 12:05:57 +02:00

25 lines
373 B
Plaintext

#define xxxx 3
#ifndef carlberg
var name = "Martin"
#if xxxx == 3
var verb = "Was";
#ifdef yyyy
var action = "Home";
#else
#if zzzzz
var action = "Away";
#else
var action = "Here"
#endif
#endif
#else
var verb = "is";
#endif
#else
var name = "Alexander";
#endif
#define f(x) x > 3
if (f(4)) var a = 3;