Files
swift-mirror/test/DebugInfo/BridgingHeaderPCH.swift
Felipe de Azevedo Piovezan 22e1badc55 [DebugInfo][NFC] Update tests to account for C11 compile units
These tests were specifically checking for C99 compile units, causing them to
fail on the Ubuntu bots.
2023-10-26 12:36:29 -07:00

13 lines
472 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|C11}},
// CHECK: !DICompileUnit(language: DW_LANG_{{ObjC|C99|C11}},
// CHECK-SAME: splitDebugFilename: "{{.*}}.pch"
// CHECK-SAME: dwoId:
Foo()