3621e073a8
This extends the ExportImport test. The Export project creates a C++ static library and exports it. Then the Import project links the library into a C executable. On most platforms the executable will link only if the C++ linker is chosen correctly.
7 lines
112 B
C++
7 lines
112 B
C++
extern "C" int testLib6cxx(void)
|
|
{
|
|
// Reference C++ standard library symbols.
|
|
delete new int;
|
|
return 0;
|
|
}
|