summaryrefslogtreecommitdiffstats
path: root/test cases/common/125 configure file in generator/src/main.c
blob: 6329e4791194790999bf6b6b4d75abbce14744d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include<stdio.h>

#include"confdata.h"
#if RESULT != 42
#error Configuration RESULT is not defined correctly
#endif

#undef RESULT

#include"source.h"
#if RESULT != 23
#error Source RESULT is not defined correctly
#endif

int main(void) {
    return 0;
}