RUN: llvm-cxxfilt -_ ___imp__ZSt6futureIvE | FileCheck %s | |
RUN: llvm-cxxfilt -n __imp__ZSt6futureIvE | FileCheck %s | |
## This should not demangle | |
RUN: llvm-cxxfilt -n __imp__foo | FileCheck %s --check-prefix=CHECK-STRING --match-full-lines | |
RUN: echo "__imp__ZSt6futureIvE __imp__ZSt6futureIvE" | llvm-cxxfilt -n | \ | |
RUN: FileCheck %s --check-prefix=CHECK-SPLIT | |
CHECK: import thunk for std::future<void> | |
CHECK-STRING: __imp__foo | |
CHECK-SPLIT: import thunk for std::future<void> import thunk for std::future<void> |