summaryrefslogtreecommitdiffstats
path: root/Tests/LoadCommand/LoadedCommand.cxx
blob: 8c125f0cb83fed7a1663df1e9a926662733c7a2c (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
#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

#ifdef CMAKE_IS_FUN
  return SIZEOF_CHAR-1;
#else  
  return SIZEOF_SHORT;
#endif
}