Files
swift-mirror/test/stdlib/block-shims.swift
Jordan Rose 02e2018197 Fix many extra trailing underscores in block shim symbols.
...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
2014-01-21 23:45:06 +00:00

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