summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-cxxfilt/simple.test
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-11-13 20:43:38 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-11-13 20:43:38 +0000
commit7091820a969ed3503806e28dae371d1b11a9da6d (patch)
treed2eb44b24396ba0bad95cf3cb2403b8a35aa1aee /llvm/test/tools/llvm-cxxfilt/simple.test
parentcfcc42bdc2b880a3036337ac259f329ae56d8c22 (diff)
downloadbcm5719-llvm-7091820a969ed3503806e28dae371d1b11a9da6d.tar.gz
bcm5719-llvm-7091820a969ed3503806e28dae371d1b11a9da6d.zip
llvm-cxxfilt: support reading from stdin
`c++filt` when given no arguments runs as a REPL, decoding each line as a decorated name. Unify the test structure to be more uniform, with the tests for llvm-cxxfilt living under test/tools/llvm-cxxfilt. llvm-svn: 286777
Diffstat (limited to 'llvm/test/tools/llvm-cxxfilt/simple.test')
-rw-r--r--llvm/test/tools/llvm-cxxfilt/simple.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-cxxfilt/simple.test b/llvm/test/tools/llvm-cxxfilt/simple.test
new file mode 100644
index 00000000000..76e70dbba30
--- /dev/null
+++ b/llvm/test/tools/llvm-cxxfilt/simple.test
@@ -0,0 +1,4 @@
+RUN: llvm-cxxfilt _Z1fi abc | FileCheck %s
+
+CHECK: f(int)
+CHECK-NEXT: abc
OpenPOWER on IntegriCloud