<commit_before>// RUN: %swift-ide-test -repl-code-completion -source-filename %s | FileCheck %s

// A smoketest for REPL code completion in Cocoa.

// REQUIRES: sdk
// REQUIRES: long_tests

// FIXME: iOS has no Cocoa.framework
// REQUIRES: OS=macosx

// CHECK: {{^}}CFArrayCreateCopy(allocator: CFAllocator?, theArray: CFArray?) -> CFArray!{{$}}
// CHECK: {{^}}FE_ALL_EXCEPT: CInt{{$}}

import Cocoa

<commit_msg>Fix up the code completion test for Clang importer change<commit_after>// RUN: %swift-ide-test -repl-code-completion -source-filename %s | FileCheck %s

// A smoketest for REPL code completion in Cocoa.

// REQUIRES: sdk
// REQUIRES: long_tests

// FIXME: iOS has no Cocoa.framework
// REQUIRES: OS=macosx

// CHECK: {{^}}CFArrayCreateCopy(allocator: CFAllocator?, theArray: CFArray?) -> CFArray!{{$}}
// CHECK: {{^}}FE_ALL_EXCEPT: Int32{{$}}

import Cocoa


{'fraction_non_alphanumeric': 0.16303099885189437, 'fraction_numerical': 0.002296211251435132, 'mean_word_length': 4.190476190476191, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '7473363', 'n_tokens_mistral': 335, 'n_tokens_neox': 316, 'n_words': 85}