Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (9 sloc) 0.298 kb
use lib '.';
use t::CompileTestLib;
use NativeCall;
say("1..1");
compile_test_lib('04-pointers');
sub ReturnSomePointer() returns OpaquePointer is native("./04-pointers") { * }
sub TakeSomePointer(OpaquePointer) is native("./04-pointers") { * }
my $x = ReturnSomePointer();
TakeSomePointer($x);
Jump to Line
Something went wrong with that request. Please try again.