 // LINUX-x86_64-DAG: -lboo
 // LINUX-x86_64-DAG: -Xlinker -undefined
 // LINUX-x86_64: -o linker
-
-// LINUX-lib-flag-space: swift
-// LINUX-lib-flag-space: -o [[OBJECTFILE:.*]]
-
-// LINUX-lib-flag-space: clang{{(\.exe)?"? }}
-// LINUX-lib-flag-space-DAG: -pie
-// LINUX-lib-flag-space-DAG: [[OBJECTFILE]]
-// LINUX-lib-flag-space-DAG: -lswiftCore
-// LINUX-lib-flag-space-DAG: -L [[STDLIB_PATH:[^ ]+(/|\\\\)lib(/|\\\\)swift(/|\\\\)]]
-// LINUX-lib-flag-space-DAG: -Xlinker -rpath -Xlinker [[STDLIB_PATH]]
-// LINUX-lib-flag-space-DAG: -F foo -iframework car -F cdr
-// LINUX-lib-flag-space-DAG: -framework bar
-// LINUX-lib-flag-space-DAG: -L baz
-// LINUX-lib-flag-space-DAG: -lboo
-// LINUX-lib-flag-space-DAG: -Xlinker -undefined
-// LINUX-lib-flag-space: -o linker
 
 // LINUX-armv6: swift
 // LINUX-armv6: -o [[OBJECTFILE:.*]]


// RUN: %swiftc_driver -sdk "" -driver-print-jobs -target x86_64-unknown-linux-gnu -Ffoo -Fsystem car -F cdr -framework bar -Lbaz -lboo -Xlinker -undefined %s 2>&1 > %t.linux.txt
// RUN: %FileCheck -check-prefix LINUX-x86_64 %s < %t.linux.txt

// RUN: %swiftc_driver -sdk "" -driver-print-jobs -target x86_64-unknown-linux-gnu -Ffoo -Fsystem car -F cdr -framework bar -Lbaz -l boo -Xlinker -undefined %s 2>&1 > %t.linux.txt
// RUN: %FileCheck -check-prefix LINUX-lib-flag-space %s < %t.linux.txt

// RUN: %swiftc_driver -sdk "" -driver-print-jobs -target armv6-unknown-linux-gnueabihf -Ffoo -Fsystem car -F cdr -framework bar -Lbaz -lboo -Xlinker -undefined %s 2>&1 > %t.linux.txt
// RUN: %FileCheck -check-prefix LINUX-armv6 %s < %t.linux.txt

// Must be able to run xcrun-return-self.sh
// REQUIRES: shell
// REQUIRES: rdar65281056
// FIXME: When this is turned on, please move the test from linker-library-with-space.swift
// to this file and remove that file.
// RUN: %swiftc_driver -sdk "" -driver-print-jobs -target x86_64-apple-macosx10.9 %s 2>&1 > %t.simple.txt
// RUN: %FileCheck %s < %t.simple.txt
// RUN: %FileCheck -check-prefix SIMPLE %s < %t.simple.txt
