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