You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tlang/source/tlang/testing/simple_extern.t

12 lines
212 B
Raku

module simple_extern;
extern efunc uint write(uint fd, ubyte* buffer, uint count);
extern evar int kak;
void test()
{
ubyte* buff;
discard write(cast(uint)0, buff, cast(uint)1001);
kak = kak + 1;
}