daily pastebin goal
10%
SHARE
TWEET

Untitled

a guest Mar 16th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import std.stdio;
  2.  
  3. struct S
  4. {
  5. }
  6.  
  7. void foo(S* s) { writeln("2"); }
  8.  
  9. void main()
  10. {
  11.     S a;
  12.     a.foo();
  13.     S *b = new S;
  14.     b.foo();
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top