Files
swift-mirror/test/PlaygroundTransform/Inputs/PlaygroundModuleAndFileIDs.swift
Chris Miles f301746f52 Simplifies PlaygroundTransform tests by moving boilerplate code to a macro.
Defines the %target-playground-build-run-swift macro in the local lit config for PlaygroundTransform which contains all the boilerplate code used by most PlaygroundTransform tests:
* Build a PlaygroundSupport module
* Build the test source into an executable, linking PlaygroundSupport
* Codesign and run the executable
2024-12-07 13:15:09 -08:00

6 lines
231 B
Swift

// main (module-name) -> 1 (module-id)
internal let __builtin_pg_module_main: Int = 1
// main (module-name), main (file-name), main_ (file-name-punycode) -> 2 (file-id)
internal let __builtin_pg_module_main_pg_file_main_: Int = 2