-
-
Save ungrim97/ce323d11137f7beb7636 to your computer and use it in GitHub Desktop.
t/04-nativecall/11-cpp.t failure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ok my $d2 = Derived2.new, 'can instantiate C++ class with vtable'; | |
is $d2.foo, 11, 'can read attribute foo'; | |
is $d2.bar, 42, 'can read attribute bar'; | |
is $d2.baz, 43, 'can read attribute baz'; | |
is $d2.cx, 3.14, 'can read attribute cx'; | |
is $d2.cy, 2.62, 'can read attribute cy'; | |
is $d2.c.chr, 'A', 'can read attribute c'; | |
is $d2.intptr.deref, 666, 'can read typed pointer attribute'; | |
Cannot invoke this object | |
in method deref at /home/mfrancis/Programming/Perl6/rakudo/lib/NativeCall/Types.pm:45 | |
in block <unit> at t/04-nativecall/11-cpp.t:86 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment