mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +00:00
9 lines
133 B
Perl
9 lines
133 B
Perl
C = terralib.includecstring [[
|
|
#define foo 1
|
|
#define foo2 -3.4
|
|
#undef foo
|
|
#define foo 3
|
|
]]
|
|
|
|
assert(C.foo == 3)
|
|
assert(C.foo2 == -3.4) |