Files
CMake/Tests/RunCMake/CXXModules/examples/duplicate/duplicate.cxx
T
Ben Boeckel 52e82dbb23 Tests/RunCMake/CXXModules: add a test with duplicate modules
Not in the same executable (as that is IFNDR), but in the same project.
This tests to make sure that there's not some project-wide cache that
gets confused.
2022-10-11 12:51:33 -04:00

12 lines
159 B
C++

module;
#include <iostream>
export module duplicate;
export int from_import()
{
std::cerr << "From duplicate #" << NDUPLICATE << std::endl;
return 0;
}