Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct Object1
- {
- int foo;
- }
- struct Object2
- {
- Object1 base;
- alias base this;
- int bar;
- }
- pragma( msg, Object2.init.foo );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement