mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 04:29:52 +00:00
07fc7b75ef
Add a test case that enables CXX in the top level and C in a subdirectory. Create an executable in the top level that uses C objects compiled in the subdirectory. Strictly speaking this is not defined behavior for all language combinations, but happens to work in this case. Test this behavior since projects might try to use it.
3 lines
57 B
C++
3 lines
57 B
C++
extern "C" int Cobj(void);
|
|
int main() { return Cobj(); }
|