swh:1:snp:3cba5856b0ddc3feab6c3c2d096d614b02c883ec
Tip revision: d152ae123d1a3df456fe24f2e1a06d97083ad2d2 authored by Brad King on 22 June 2016, 13:02:00 UTC
CMake 3.6.0-rc3
CMake 3.6.0-rc3
Tip revision: d152ae1
foo.in
#include "doc1.h"
#include "foo.h"
#include <stdio.h>
int generated();
int wrapped();
#include "subdir/subdir.h"
#ifndef SUBDIR_DEF
# error SUBDIR_DEF not defined
#endif
int main ()
{
if (generated()*wrapped()*doc() == 3*5*7)
{
FILE* fin = fopen("not_included.h", "r");
if(fin)
{
fclose(fin);
return 0;
}
else
{
return -2;
}
}
return -1;
}