CMake/Tests/CustomCommand/foo.in
Matthew Woehlke 99ac59d31b style: Remove trailing blank lines from all CMake sources
Our development workflow tooling prevents trailing blank lines
from being added, but some such lines remain from before that
was enforced.  Remove them to make it easier to rename files
without triggering enforcement.
2024-11-21 15:48:02 -05:00

32 lines
411 B
Plaintext

#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;
}