Skip to content

Commit 116f8d1

Browse files
committed
Fix test and make it test optimized builds as well.
1 parent 5f249fe commit 116f8d1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/Interpreter/collection_casts.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
// RUN: rm -rf %t
2+
// RUN: mkdir -p %t
13
// RUN: %target-build-swift %s -Xfrontend -enable-experimental-collection-casts -o %t/main
4+
// RUN: %target-build-swift %s -Xfrontend -enable-experimental-collection-casts -o %t/main-optimized
25
// RUN: %target-run %t/main | FileCheck %s
6+
// RUN: %target-run %t/main-optimized | FileCheck %s
37
// REQUIRES: executable_test
48

59
protocol Preening {

0 commit comments

Comments
 (0)