Brad King 3621e073a8 ENH: Test export/import of link interface languages
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.
2009-07-11 10:10:51 -04:00

7 lines
112 B
C++

extern "C" int testLib6cxx(void)
{
// Reference C++ standard library symbols.
delete new int;
return 0;
}