Guest User

Untitled

a guest
Jun 2nd, 2013
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. module X {
  2. foo() {}
  3. }
  4. module Y {
  5. foo() {}
  6. }
  7. type thing {
  8. foo() {}
  9. }
  10. f(arg) {
  11. arg.foo();
  12. }
  13. Main() {
  14. f(X);
  15. f(Y);
  16. f(thing());
  17. }
Advertisement
Add Comment
Please, Sign In to add comment