Skip to content

Commit

Permalink
Fix test from r29970
Browse files Browse the repository at this point in the history
This test got broken by r29966, "Eliminate dead arguments that are
dead besides an @owned release".

Swift SVN r30001
  • Loading branch information
slavapestov committed Jul 8, 2015
1 parent db023b9 commit af0745b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/SILPasses/cast_folding_objc_no_foundation.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// RUN: %target-swift-frontend -O -emit-sil %s | tee /tmp/xxx | FileCheck %s
// RUN: %target-swift-frontend -O -emit-sil %s | FileCheck %s
// REQUIRES: objc_interop
// REQUIRES: disabled

// Note: no 'import Foundation'

Expand All @@ -26,8 +25,8 @@ func testAnyObjectToArrayString(a: AnyObject) -> Bool {
return a is [String]
}

// CHECK-LABEL: sil hidden [noinline] @_TTSf4g___TF31cast_folding_objc_no_foundation30testAnyObjectToArrayNotBridgedFPSs9AnyObject_Sb
// CHECK-NEXT: bb0(%0 : $AnyObject):
// CHECK-LABEL: sil hidden [noinline] @_TTSf4dg___TF31cast_folding_objc_no_foundation30testAnyObjectToArrayNotBridgedFPSs9AnyObject_Sb
// CHECK-NEXT: bb0:
// CHECK: [[VALUE:%.*]] = integer_literal $Builtin.Int1, 0
// CHECK: [[RESULT:%.*]] = struct $Bool ([[VALUE]] : $Builtin.Int1)
// CHECK: return [[RESULT]]
Expand Down

0 comments on commit af0745b

Please sign in to comment.