ENH: use try run source

This commit is contained in:
Bill Hoffman 2006-08-03 13:51:24 -04:00
parent 831492a9d7
commit d1a25bd836
1 changed files with 6 additions and 2 deletions

View File

@ -248,7 +248,11 @@ int main ()
{
dev_t maj = 5;
dev_t min = 7;
makedev(0, maj, min);
dev_t dev;
dev = makedev(0, maj, min);
if(major(dev) != maj || minor(dev) != min)
exit(1);
return 0;
}
")