Skip to content

Commit bdd9480

Browse files
committed
Update added tests to require objec interop
1 parent dbadd99 commit bdd9480

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

test/SILOptimizer/devirtualize_protocol_composition.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// RUN: %target-swift-frontend -parse-as-library -O -wmo -emit-sil %s | %FileCheck %s
22
// RUN: %target-swift-frontend -parse-as-library -Osize -wmo -emit-sil %s | %FileCheck %s
33

4+
// REQUIRES: objc_interop
5+
46
// This is an end-to-end test to ensure that the optimizer devertualizes
57
// calls to a protocol composition type.
68

test/SILOptimizer/devirtualize_protocol_composition_two_stores.sil

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-sil-opt -O -wmo -enable-sil-verify-all %s | %FileCheck %s
22

3+
// REQUIRES: objc_interop
4+
35
sil_stage canonical
46

57
import Builtin

0 commit comments

Comments
 (0)