aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/native/2 global arg/prog.cc
blob: 5c32209925ccaf970a6c9472a366e064fcd871cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifdef MYTHING
#error "Wrong global argument set"
#endif

#ifndef MYCPPTHING
#error "Global argument not set"
#endif

#ifndef MYCANDCPPTHING
#error "Global argument not set"
#endif

int main(void) {
    return 0;
}