Files
swift-mirror/validation-test/Casting/BoxingCasts-5none.test
David Zarzycki 716e38c572 [Testing] NFC: Make BoxingCasts test concurrent
This test is the slowest test on my machine.
2021-02-01 08:11:50 -05:00

15 lines
685 B
Plaintext

// RUN: %empty-directory(%t)
//
// RUN: %gyb %S/Inputs/BoxingCasts.swift.gyb -o %t/BoxingCasts.swift
//
// RUN: %line-directive %t/BoxingCasts.swift -- %target-build-swift -g -module-name a -Onone -swift-version 5 %t/BoxingCasts.swift -o %t/a.swift5.Onone.out
// RUN: %target-codesign %t/a.swift5.Onone.out
// RUN: %line-directive %t/BoxingCasts.swift -- %target-run %t/a.swift5.Onone.out
//
// Note: The RUN directives above override the default test optimizations.
// These tests are deliberately run both ways:
// * optimized to verify compiler cast optimizations, and
// * non-optimized to verify the runtime methods used for non-optimized casts.
//
// REQUIRES: executable_test