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 "config.h"
|
|
|
|
|
|
|
|
#include <stdio.h>
|
2003-06-03 18:34:15 +04:00
|
|
|
|
|
|
|
int generated();
|
|
|
|
int wrapped();
|
2008-05-14 19:38:47 +04:00
|
|
|
int gen_once(void);
|
2003-06-03 18:34:15 +04:00
|
|
|
|
|
|
|
int main ()
|
|
|
|
{
|
2008-05-14 19:38:47 +04:00
|
|
|
if (generated()*wrapped()*doc()*gen_once() == 3*5*7*11)
|
2003-06-03 18:34:15 +04:00
|
|
|
{
|
2006-06-01 21:01:31 +04:00
|
|
|
FILE* fin = fopen(PROJECT_BINARY_DIR "/not_included.h", "r");
|
|
|
|
if(fin)
|
|
|
|
{
|
|
|
|
fclose(fin);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
return -2;
|
|
|
|
}
|
2003-06-03 18:34:15 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
|