mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Previously passing `-I %t` would mean that `%t/Inputs` is also indexed, but that is not the case anymore in certain scenarios. rdar://128490765
24 lines
567 B
Swift
24 lines
567 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: split-file %s %t
|
|
//
|
|
// RUN: %target-swift-frontend %t/test.swift -I %t/Inputs -c -index-system-modules -index-ignore-clang-modules -index-store-path %t/store -enable-experimental-cxx-interop -Rindexing-system-module 2>&1 | %FileCheck %s
|
|
// RUN: not ls %t/store/interfaces
|
|
|
|
//--- Inputs/module.modulemap
|
|
module CxxModule {
|
|
header "headerA.h"
|
|
requires cplusplus
|
|
}
|
|
|
|
//--- Inputs/headerA.h
|
|
|
|
namespace ns {
|
|
int freeFunction(int x, int y);
|
|
}
|
|
|
|
//--- test.swift
|
|
|
|
import CxxModule
|
|
|
|
// CHECK-NOT: emitting symbolic interface at
|