2003-06-03 10:34:15 -04:00
|
|
|
#include "doc1.h"
|
2005-08-17 11:48:05 -04:00
|
|
|
#include "foo.h"
|
2006-06-01 13:01:31 -04:00
|
|
|
|
|
|
|
#include <stdio.h>
|
2003-06-03 10:34:15 -04:00
|
|
|
|
|
|
|
int generated();
|
|
|
|
int wrapped();
|
|
|
|
|
2015-01-27 10:57:17 -05:00
|
|
|
#include "subdir/subdir.h"
|
|
|
|
#ifndef SUBDIR_DEF
|
|
|
|
# error SUBDIR_DEF not defined
|
|
|
|
#endif
|
|
|
|
|
2003-06-03 10:34:15 -04:00
|
|
|
int main ()
|
|
|
|
{
|
2008-06-02 16:45:07 -04:00
|
|
|
if (generated()*wrapped()*doc() == 3*5*7)
|
2003-06-03 10:34:15 -04:00
|
|
|
{
|
2014-12-26 21:19:14 -07:00
|
|
|
FILE* fin = fopen("not_included.h", "r");
|
2006-06-01 13:01:31 -04:00
|
|
|
if(fin)
|
|
|
|
{
|
|
|
|
fclose(fin);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
return -2;
|
|
|
|
}
|
2003-06-03 10:34:15 -04:00
|
|
|
}
|
2012-08-13 13:42:58 -04:00
|
|
|
|
2003-06-03 10:34:15 -04:00
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|