https://issues.dlang.org/show_bug.cgi?id=19017
--- Comment #1 from Jacob Carlborg <[email protected]> --- Update the D code for the latest compiler: extern (C) int printf(in char*, ...); struct Bar { int a, b, c, d, e; } extern (Objective-C) extern class Foo { static Foo alloc() @selector("alloc"); Foo init() @selector("init"); Bar getValue() @selector("getValue"); } void main() { auto f = Foo.alloc.init; auto b = f.getValue; printf("%d\n", b.a); } --
