Example: #define A 3 #define A 4 This used to do strange things, but now works as it should.
9 lines
153 B
C
9 lines
153 B
C
// Simple tests of the C preprocessor
|
|
|
|
#define A 1
|
|
#define A (4 / 2)
|
|
#define B 1 // This is a comment. With a / in it.
|
|
|
|
int main() {
|
|
return A + B;
|
|
}
|