Created
June 12, 2020 06:06
-
-
Save kateinoigakukun/a6029d2a24df45ef4600331682a2896a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ------------------------------ | |
// lib.swift | |
// ------------------------------ | |
public struct LibX {} | |
public func getLibX() -> LibX { return LibX() } | |
public func unusedFunction() {} | |
// ------------------------------ | |
// main.swift | |
// ------------------------------ | |
import lib | |
_ = getLibX() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment