parent
304c0d2cb5
commit
246d9f4564
3 changed files with 24 additions and 0 deletions
@ -0,0 +1,9 @@ |
||||
#ifdef CTHING |
||||
#error "Local C argument set in wrong target" |
||||
#endif |
||||
|
||||
#ifdef CPPTHING |
||||
#error "Local CPP argument set in wrong target" |
||||
#endif |
||||
|
||||
int func() { return 0; } |
@ -0,0 +1,13 @@ |
||||
#ifdef CTHING |
||||
#error "Local C argument set in wrong target" |
||||
#endif |
||||
|
||||
#ifdef CPPTHING |
||||
#error "Local CPP argument set in wrong target" |
||||
#endif |
||||
|
||||
extern "C" int func(); |
||||
|
||||
int main(int argc, char **argv) { |
||||
return func(); |
||||
} |
Loading…
Reference in new issue