Files
swift-mirror/test/SourceKit/Misc/rdar148130166.swift
Hamish Knight b53c411655 [Frontend] Avoid storing StringRef values in ModuleAliasMap
Previously we would insert StringRefs that reference the keys in the
map, but that breaks if the invocation ever gets copied. Switch to
`std::string`.

rdar://148130166
2025-05-09 19:49:50 +01:00

6 lines
231 B
Swift

// RUN: env DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib %sourcekitd-test -req=active-regions %s -- %s -module-name B -module-alias A=B
// Make sure we don't crash.
// guardmalloc is incompatible with ASAN
// REQUIRES: no_asan