summaryrefslogtreecommitdiffstats
path: root/Tests/LoadCommandOneConfig/LoadedCommand.cxx
blob: 04daff0b41c0b0b2fe6825e3723188a41eec960a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include "LoadedCommand.h"
#include <stdio.h>

int main ()
{
#ifdef HAVE_VSBLABLA
  printf("Should not be able to find vsblabla\n");
  return 1;
#endif

#if !defined( HAVE_PRINTF )
  printf("Should be able to find printf\n");
  return 1;
#endif

#if !defined( ADDED_DEFINITION )
  printf("Should have ADDED_DEFINITION defined\n");
  return 1;
#endif
  if(SIZEOF_CHAR != 1)
    {
    printf("Size of char is not one, something is broken\n");
    }
  
#ifdef CMAKE_IS_FUN
  return SIZEOF_CHAR-1;
#else  
  return SIZEOF_SHORT;
#endif
}