mirror of
https://gitlab.com/camelot/kickc.git
synced 2025-08-08 13:25:12 +00:00
17 lines
207 B
C
17 lines
207 B
C
// Test unary plus
|
|
|
|
void main() {
|
|
|
|
char* SCREEN = 0x0400;
|
|
int* SCREEN2 = 0x0428;
|
|
|
|
char i = +3;
|
|
SCREEN[0] = i;
|
|
SCREEN[1] = +3;
|
|
|
|
int j = +3;
|
|
SCREEN2[0] = j;
|
|
SCREEN2[1] = +3;
|
|
|
|
|
|
} |