import Foo // REQUIRES: objc_interop // RUN: %empty-directory(%t) // RUN: %build-clang-importer-objc-overlays // Perform 8 concurrent cursor infos, which is often enough to cause // contention. We disable printing the requests to minimize delay. // RUN: %sourcekitd-test -req=interface-gen-open -module Foo -- \ // RUN: -F %S/../Inputs/libIDE-mock-sdk \ // RUN: -target %target-triple %clang-importer-sdk-nosource -I %t \ // RUN: == -async -dont-print-request -req=cursor -pos=54:15 \ // RUN: == -async -dont-print-request -req=cursor -pos=54:15 \ // RUN: == -async -dont-print-request -req=cursor -pos=54:15 \ // RUN: == -async -dont-print-request -req=cursor -pos=54:15 \ // RUN: == -async -dont-print-request -req=cursor -pos=54:15 \ // RUN: == -async -dont-print-request -req=cursor -pos=54:15 \ // RUN: == -async -dont-print-request -req=cursor -pos=54:15 \ // RUN: == -async -dont-print-request -req=cursor -pos=54:15 | %FileCheck %s -check-prefix=CHECK-FOO // CHECK-FOO: struct FooRuncingOptions // CHECK-FOO: struct FooRuncingOptions // CHECK-FOO: struct FooRuncingOptions // CHECK-FOO: struct FooRuncingOptions // CHECK-FOO: struct FooRuncingOptions // CHECK-FOO: struct FooRuncingOptions // CHECK-FOO: struct FooRuncingOptions // CHECK-FOO: struct FooRuncingOptions