// RUN: %empty-directory(%t) // RUN: %target-swift-frontend %s -module-name Functions -clang-header-expose-decls=all-public -typecheck -verify -emit-clang-header-path %t/functions.h // RUN: %FileCheck %s < %t/functions.h // RUN: %check-interop-cxx-header-in-clang(%t/functions.h -DSWIFT_CXX_INTEROP_HIDE_STL_OVERLAY) public func overloadedFunc(_ x: Int) { } public func overloadedFunc(_ y: Float) { } public func overloadedFuncArgLabel(x _: Int) { } public func overloadedFuncArgLabel(y _: Float) { } // CHECK: void overloadedFunc(swift::Int x) noexcept // CHECK: void overloadedFuncArgLabel(swift::Int _1) noexcept // CHECK: // Unavailable in C++: Swift global function 'overloadedFunc(_:)'. // CHECK: // Unavailable in C++: Swift global function 'overloadedFuncArgLabel(y:)'.