Page MenuHomePhabricator

D58785.diff
No OneTemporary

File Metadata

Created
Tue, May 26, 11:30 AM

D58785.diff

Index: llvm/trunk/test/tools/llvm-cxxfilt/empty-line.test
===================================================================
--- llvm/trunk/test/tools/llvm-cxxfilt/empty-line.test
+++ llvm/trunk/test/tools/llvm-cxxfilt/empty-line.test
@@ -0,0 +1,9 @@
+# Show that llvm-cxxfilt can handle empty lines in the input.
+RUN: echo "" > %t
+RUN: echo "_Z3foov" >> %t
+RUN: echo "" >> %t
+RUN: llvm-cxxfilt < %t | FileCheck %s
+
+CHECK: {{^$}}
+CHECK-NEXT: foo()
+CHECK-EMPTY:

Event Timeline