New test.

From-SVN: r19599
This commit is contained in:
Jeff Law 1998-05-06 14:19:15 -06:00
parent 47f3558cf0
commit cc64424082
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
unsigned char lookup_table [257];
static int
build_lookup (pattern)
unsigned char *pattern;
{
int m;
m = strlen (pattern) - 1;
memset (lookup_table, ++m, 257);
return m;
}
int main(argc, argv)
int argc;
char **argv;
{
if (build_lookup ("bind") != 4)
abort ();
else
exit (0);
}