summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Color/diag.c
blob: 7ff8304348dc56014686f5b392f5fb931d2fc5f0 (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
#ifdef EXPECT_COLOR
#  if EXPECT_COLOR
#    ifndef COLOR_ON
#      error "COLOR_ON incorrectly not defined"
#    endif
#    ifdef COLOR_OFF
#      error "COLOR_OFF incorrectly defined"
#    endif
#  else
#    ifdef COLOR_ON
#      error "COLOR_ON incorrectly defined"
#    endif
#    ifndef COLOR_OFF
#      error "COLOR_OFF incorrectly not defined"
#    endif
#  endif
#else
#  ifdef COLOR_ON
#    error "COLOR_ON incorrectly defined"
#  endif
#  ifdef COLOR_OFF
#    error "COLOR_OFF incorrectly defined"
#  endif
#endif

void diag(void)
{
}