Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions test/SILGen/objc_error_fast_path.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
// RUN: %t/optimized.swift -module-name Lib \
// RUN: -emit-module -emit-module-path %t/Lib.swiftmodule \
// RUN: -swift-version 5 -enable-library-evolution -O
// RUN: %target-codesign %t/%target-library-name(Lib)
// RUN: %target-build-swift %t/main.swift -o %t/main -I%t -lLib -L%t -O
// RUN: %target-codesign %t/main
// RUN: %target-run %t/main | %FileCheck %s
// RUN: %target-run %t/main %t/%target-library-name(Lib) | %FileCheck %s

/// Ensure the client has the optimization we're testing here.
// RUN: %target-swift-frontend -typecheck -emit-silgen %t/Lib.swiftmodule > %t/Lib.sil
Expand All @@ -22,9 +23,10 @@
// RUN: %t/non-optimized.swift -module-name Lib \
// RUN: -emit-module -emit-module-path %t/Lib.swiftmodule \
// RUN: -swift-version 5 -enable-library-evolution -O
// RUN: %target-codesign %t/%target-library-name(Lib)
// RUN: %target-build-swift %t/main.swift -o %t/main -I%t -lLib -L%t -O
// RUN: %target-codesign %t/main
// RUN: %target-run %t/main | %FileCheck %s
// RUN: %target-run %t/main %t/%target-library-name(Lib) | %FileCheck %s

/// Ensure the client doesn't have the optimization we're testing here.
// RUN: %target-swift-frontend -typecheck -emit-silgen %t/main.swift -I%t -O > %t/Lib.sil
Expand Down