Files
kraken/tests/c_passthrough_diff.krak

18 lines
331 B
Plaintext
Raw Normal View History

__if_comp__ __C__ simple_passthrough """
#include <stdio.h>
int diff = 7;
"""
|void| print_it() {
__if_comp__ __C__ simple_passthrough """
printf("diff_file: %d\n", diff);
"""
}
|void| print_it(|int| i) {
__if_comp__ __C__ simple_passthrough(i = i::) """
printf("diff_file: %d\n", i);
"""
}