mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This allows the debugger to look up Clang-imported type definitions in the correct module.
13 lines
464 B
Swift
13 lines
464 B
Swift
// RUN: %target-swift-frontend \
|
|
// RUN: -emit-pch %S/Inputs/InlineBridgingHeader.h -o %t.pch
|
|
// RUN: %target-swift-frontend \
|
|
// RUN: -import-objc-header %t.pch -emit-ir -g %s -o - | %FileCheck %s
|
|
|
|
// CHECK: !DICompileUnit(language: DW_LANG_Swift
|
|
// CHECK: !DICompileUnit(language: DW_LANG_{{ObjC|C99}},
|
|
// CHECK: !DICompileUnit(language: DW_LANG_{{ObjC|C99}},
|
|
// CHECK-SAME: splitDebugFilename: "{{.*}}.pch"
|
|
// CHECK-SAME: dwoId:
|
|
|
|
Foo()
|