Guest User

Untitled

a guest
Jul 18th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. #!./parrot
  2. # Copyright (C) 2006-2008, Parrot Foundation.
  3.  
  4. =head1 NAME
  5.  
  6. t/pmc/parrotlibrary.t - test the ParrotLibrary PMC
  7.  
  8. =head1 SYNOPSIS
  9.  
  10. % prove t/pmc/parrotlibrary.t
  11.  
  12. =head1 DESCRIPTION
  13.  
  14. Tests the ParrotLibrary PMC.
  15.  
  16. =cut
  17.  
  18. .sub main :main
  19. .include 'test_more.pir'
  20.  
  21. plan(1)
  22.  
  23. new $P0, ['ParrotLibrary']
  24. ok(1, 'Instantiated a ParrotLibrary PMC')
  25.  
  26. set_addr $P0, 123
  27.  
  28. $P1 = clone $P0
  29.  
  30. null $P0
  31. sweep 1
  32.  
  33. .end
  34.  
  35. # Local Variables:
  36. # mode: pir
  37. # fill-column: 100
  38. # End:
  39. # vim: expandtab shiftwidth=4 ft=pir:
Add Comment
Please, Sign In to add comment