cmake/Tests/RunCMake/CXXModules/sources/module-internal-part-impl.cxx

12 lines
124 B
C++
Raw Normal View History

2022-11-16 20:14:03 +01:00
#ifdef _MSC_VER
// Only MSVC supports this pattern.
2023-05-23 16:38:00 +02:00
module M:internal_part;
2022-11-16 20:14:03 +01:00
#else
module M;
#endif
int i()
{
return 0;
}