Files
swift-mirror/test/Interop/Cxx/stdlib/Inputs/include-math.h
Egor Zhdan 08231096a7 [cxx-interop] Fix modularization for <cmath> with libstdc++
This fixes compiler errors on Fedora 42 and similar distros.

`<cmath>` wasn't correctly listed in the modulemap that Swift injects into libstdc++.

rdar://152032606 / resolves https://github.com/swiftlang/swift/issues/81774
2026-03-02 16:28:59 +00:00

4 lines
49 B
C

#include <math.h>
int getMyInt() { return 42; }