swh:1:snp:3cba5856b0ddc3feab6c3c2d096d614b02c883ec
Raw File
Tip revision: a4231943117f5ba3dd0fdc6c8b1824334162b69f authored by Brad King on 04 June 2019, 16:29:02 UTC
Merge branch 'ctest_xml_tweaks' into release-3.15
Tip revision: a423194
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;
}

back to top