The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
267 B

#include<iostream>
extern "C" {
int get_retval(void);
}
int main(void) {
std::cout << "C++ seems to be working." << std::endl;
#if defined(USE_ASM)
return get_retval();
#elif defined(NO_USE_ASM)
return 0;
#else
#error "Forgot to pass asm define"
#endif
}