Files
swift-mirror/test/Interop/Cxx/stdlib/no-cxx-stdlib.swift
Egor Zhdan 9472c4ca08 [cxx-interop] Avoid "libstdc++ not found" warning when -nostdinc++ is passed
When explicitly asked not to load the C++ standard library, Swift should not emit warnings for missing libstdc++.

This fixes a compiler warning when building the Cxx module on Linux.
2024-12-05 17:51:30 +00:00

6 lines
155 B
Swift

// RUN: %target-typecheck-verify-swift -I %S/Inputs -cxx-interoperability-mode=upcoming-swift -Xcc -nostdinc++
import NoCXXStdlib
let _ = my_sum(12, 15)