Files
CMake/Tests/RunCMake/CXXModules/examples/circular/circular-b.cppm
Ben Boeckel e67f5d41af Tests/RunCMake/CXXModules: add a test with circular imports
The build should fail. However, the error message is completely
generator-dependent as it is the build tool which (should) eventually
detect this case.
2022-10-11 12:51:32 -04:00

7 lines
63 B
C++

export module b;
import a;
export int b() {
return a();
}