Files
swift-mirror/test/Demangle/demangle.swift
Erik Eckstein 81384b6f82 demangler: Add API functions for classifying symbols.
To be used by lldb.
Also add a -classify option in swift-demangler to test those new API functions.
2017-01-31 17:27:10 -08:00

15 lines
443 B
Swift

; This is not really a Swift source file: -*- Text -*-
%t.input: "A ---> B" ==> "A"
RUN: sed -ne '/--->/s/ *--->.*$//p' < %S/Inputs/manglings.txt > %t.input
%t.check: "A ---> B" ==> "B"
RUN: sed -ne '/--->/s/^.*---> *//p' < %S/Inputs/manglings.txt > %t.check
RUN: swift-demangle -classify < %t.input > %t.output
RUN: diff %t.check %t.output
; RUN: swift-demangle __TtSi | %FileCheck %s -check-prefix=DOUBLE
; DOUBLE: _TtSi ---> Swift.Int