Files
swift-mirror/test/IRGen/dependent-library.swift
Jordan Rose 2b7ab7d8d1 [test] Update autolinking tests to match LLVM.
The test part of 90ca8f119a, which went in early to unblock the build.
2017-07-25 14:57:27 -07:00

7 lines
380 B
Swift

// RUN: %swift -target i686-unknown-windows-msvc -emit-ir -parse-as-library -parse-stdlib -module-name dependent -autolink-library oldnames -autolink-library msvcrt %s -o - | %FileCheck %s
// CHECK: !llvm.linker.options = !{![[oldnames:[0-9]+]], ![[msvcrtd:[0-9]+]]}
// CHECK: ![[oldnames]] = !{!"/DEFAULTLIB:oldnames.lib"}
// CHECK: ![[msvcrtd]] = !{!"/DEFAULTLIB:msvcrt.lib"}