Skip to content

Instantly share code, notes, and snippets.

@kateinoigakukun
Created June 12, 2020 06:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kateinoigakukun/a6029d2a24df45ef4600331682a2896a to your computer and use it in GitHub Desktop.
Save kateinoigakukun/a6029d2a24df45ef4600331682a2896a to your computer and use it in GitHub Desktop.
// ------------------------------
// 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