Files
swift-mirror/test/stdlib/WinSDK_GUID.swift
Egor Zhdan 28f9db7bfa [WinSDK] Modularize <guiddef.h>
This fixes modularization errors that arise when importing a C++ header that contains `#include <guiddef.h>`, which might hijack this header from the WinSDK module where it belongs.
2025-08-28 22:21:55 +01:00

10 lines
220 B
Swift

// RUN: %target-build-swift %s
// REQUIRES: OS=windows-msvc
// Make sure that importing WinSDK brings in the GUID type, which is declared in
// /shared and not in /um.
import WinSDK
public func usesGUID(_ x: GUID) {}