aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/21 target arg/prog.cc
blob: 23028af4dfaf3f7b8003aaca2d55d421b4a39504 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifdef CTHING
#error "Wrong local argument set"
#endif

#ifndef CPPTHING
#error "Local argument not set"
#endif

extern "C" int func();

int main(void) {
    return func();
}