Files
swift-mirror/test/ClangImporter/escaped-identifier-module-name.swift
Tony Allevato 329261593e Add a test importing a Clang module with non-identifier characters.
This requires no additional work beyond just parsing the identifier because Clang module maps already support such names in quotes.
2025-03-11 17:18:43 -04:00

7 lines
183 B
Swift

// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -typecheck -I %S/Inputs/custom-modules %s -verify
import `Weird C Module`
_ = S().value
_ = `Weird C Module`.S().value