<commit_before>; @f and @g are lazily linked. @f requires @g - ensure @g is correctly linked.

; RUN: echo -e "declare i32 @f(i32)\ndefine i32 @h(i32 %x) {\n%1 = call i32 @f(i32 %x)\nret i32 %1\n}" | llvm-as >%t.1.bc
; RUN: llvm-as < %s > %t.2.bc
; RUN: llvm-link %t.1.bc %t.2.bc
<commit_msg>[tests] Use multiple statements instead of 'echo -e', which is not part of BSD echo.<commit_after>; @f and @g are lazily linked. @f requires @g - ensure @g is correctly linked.

; RUN: echo "declare i32 @f(i32)" > %t.1.ll
; RUN: echo "define i32 @h(i32 %x) {" >> %t.1.ll
; RUN: echo "  %1 = call i32 @f(i32 %x)" >> %t.1.ll
; RUN: echo "  ret i32 %1" >> %t.1.ll
; RUN: echo "}" >> %t.1.ll
; RUN: llvm-as < %t.1.ll > %t.1.bc
; RUN: llvm-as < %s > %t.2.bc
; RUN: llvm-link %t.1.bc %t.2.bc

{'fraction_non_alphanumeric': 0.21722365038560412, 'fraction_numerical': 0.05912596401028278, 'mean_word_length': 2.994871794871795, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 16, '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': '6066547', 'n_tokens_mistral': 382, 'n_tokens_neox': 359, 'n_words': 112}