Files
swift-mirror/test/reproducible-builds/swiftc-emit-module.swift
2017-06-04 11:08:39 -07:00

7 lines
306 B
Swift

// RUN: %empty-directory(%t)
// RUN: %target-build-swift -O -g -module-name foo -emit-module %s -o %t/run-1.module
// RUN: %target-build-swift -O -g -module-name foo -emit-module %s -o %t/run-2.module
// RUN: cmp %t/run-1.module %t/run-2.module
// RUN: cmp %t/run-1.swiftdoc %t/run-2.swiftdoc
print("foo")