Files
swift-mirror/test/DebugInfo/ASTSection_linker.swift
2014-02-05 01:05:17 +00:00

10 lines
391 B
Swift

// Run test ASTSection.swift, with separate compile and link steps.
// RUN: rm -rf %t
// RUN: mkdir %t
// RUN: %swift_driver -frontend -c -emit-module -o %t %s
// RUN: %ld %t/ASTSection.o -sectcreate __SWIFT __ast %t/ASTSection.swiftmodule -o %t/ASTSection.dylib -L%libdir/swift/macosx -dylib -lSystem
// RUN: %lldb-moduleimport-test %t/ASTSection.dylib | FileCheck %s
// REQUIRES: macosx