<commit_before>//------------------------------------------------------------------------------
// CLING - the C++ LLVM-based InterpreterG :)
//
// This file is dual-licensed: you can choose to license it under the University
// of Illinois Open Source License or the GNU Lesser General Public License. See
// LICENSE.TXT for details.
//------------------------------------------------------------------------------

// RUN: clang -shared %S/call_lib.c -olibcall_lib%shlibext
// RUN: cat %s | %cling | FileCheck %s

.L libcall_lib
extern "C" int cling_testlibrary_function();

cling_testlibrary_function()
// CHECK: (int) 66<commit_msg>Try to fix test failure in Travis.<commit_after>//------------------------------------------------------------------------------
// CLING - the C++ LLVM-based InterpreterG :)
//
// This file is dual-licensed: you can choose to license it under the University
// of Illinois Open Source License or the GNU Lesser General Public License. See
// LICENSE.TXT for details.
//------------------------------------------------------------------------------

// RUN: clang -shared %S/call_lib.c -o%T/libcall_lib%shlibext
// RUN: cat %s | %cling -L%T | FileCheck %s

.L libcall_lib
extern "C" int cling_testlibrary_function();

cling_testlibrary_function()
// CHECK: (int) 66
{'fraction_non_alphanumeric': 0.3328209069946195, 'fraction_numerical': 0.0030745580322828594, 'mean_word_length': 1.4705882352941178, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3011638', 'n_tokens_mistral': 341, 'n_tokens_neox': 325, 'n_words': 118}