<commit_before>// RUN: %empty-directory(%t) 
// RUN: %target-build-swift -O %s -o %t/a.out
// RUN: %target-run %t/a.out | %FileCheck %s

protocol E {
  func f() -> Bool
}

final class K {
  deinit {
    print("deinit")
  }
}


struct X : E {
  var x: K
  func f() -> Bool { return true }
}

func g<T>(_ x : T) -> Bool {
  if let y = x as? E { return y.f() }
  return false
}

// CHECK that there is no use-after-free in this function.
@inline(never)
func foo(_ x: X) -> Bool {<commit_msg>[android][test] Mark sil_combine_alloc_stack as executable.<commit_after>// RUN: %empty-directory(%t) 
// RUN: %target-build-swift -O %s -o %t/a.out
// RUN: %target-run %t/a.out | %FileCheck %s

// REQUIRES: executable_test

protocol E {
  func f() -> Bool
}

final class K {
  deinit {
    print("deinit")
  }
}


struct X : E {
  var x: K
  func f() -> Bool { return true }
}

func g<T>(_ x : T) -> Bool {
  if let y = x as? E { return y.f() }
  return false
}

// CHECK that there is no use-after-free in this function.
@inline(never)
func foo(_ x: X) -> Bool {
{'fraction_non_alphanumeric': 0.17490494296577946, 'fraction_numerical': 0.0, 'mean_word_length': 2.5816326530612246, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2643711', 'n_tokens_mistral': 439, 'n_tokens_neox': 417, 'n_words': 136}