mirror of
https://github.com/Kitware/CMake.git
synced 2025-06-26 14:36:42 +08:00

This test creates a C executable that links to a C++ static library. On most platforms the executable will not link unless the C++ linker is chosen correctly.
7 lines
54 B
C
7 lines
54 B
C
extern int foo(void);
|
|
int main()
|
|
{
|
|
return foo();
|
|
}
|
|
|