Files
Saleem Abdulrasool 2de797c52a Windows: externalise the WinRT module
Extract the WinRT module from WinSDK. This resides in a separate
directory (winrt). Similar to how the UM and shared directories are now
proper submodules, create an isolated subdirectory for the system vended
WinRT module. Unfortunately, due to a cycle, we need to add a shim
header to allow us to break the WinSDK.UM/WinSDK.WinRT interdependency.
2026-10-08 23:29:24 -07:00

11 lines
298 B
Swift

// RUN: %target-typecheck-verify-swift
// REQUIRES: OS=windows-msvc
// WinRT remains part of the API surface imported through WinSDK even though
// its Clang submodule is defined by an external component module map.
import WinSDK
let _: RO_INIT_TYPE = RO_INIT_MULTITHREADED
let _ = RoInitialize