mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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.
6 lines
155 B
Swift
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)
|