Adding plain old documentation (pod) tests.

My plan is for tests of features to be put into multiple languages to make
sure that reasonable things happen for each language (to test for bleeding
between cross reference behavior).
This commit is contained in:
timeless%mozdev.org 2006-09-10 09:58:23 +00:00
Родитель 6150ae0fb8
Коммит 593b8eb914
2 изменённых файлов: 66 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,33 @@
///bin/cc
printf("this is not a comment");
// this is a comment
printf("this is not a comment");
/*pod
print "this block is a compiler error";
*cut*/
/*pod
This is POD
cut*/
printf("this is not a comment");
// this is a comment
printf("this is not a comment");
/*pod
This is POD
#comment
cut*/
print "this is not a comment";
/*pod
This is silly
*^=cut/
printf("this is pod!");

Просмотреть файл

@ -0,0 +1,33 @@
#!/bin/perl
print "this is not a comment";
# this is a comment
print "this is not a comment";
=pod
print "this block is a compiler error";
=cut
=pod
This is POD
=cut
print "this is not a comment";
# this is a comment
print "this is not a comment";
=pod
This is POD
#comment
=cut
print "this is not a comment";
=pod
This is silly
^=cut
print "this is pod!";