mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
...which would of course prevent them from being used. Sadly, this includes the one I just added, since I didn't actually test it against the original project until now. Add a regression test that all block shims have valid manglings without any unmangled suffixes. Swift SVN r12672
8 lines
304 B
Swift
8 lines
304 B
Swift
// RUN: %swift-demangle `nm %libdir/swift/macosx/libswift_runtime.a | sed -n 's/^[0-9a-f]* T __TTbX/_TTbX/ p'` | FileCheck %s
|
|
// REQUIRES: X86
|
|
|
|
// We must be able to demangle every block shim in the runtime,
|
|
// and there must be no unmangled suffixes.
|
|
// CHECK-NOT: ---> _
|
|
// CHECK-NOT: unmangled suffix
|