Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / Demangle / warn-trailing.test
blob5efd77a7d41cb856220215457c62f17099ccee7f
1 ; RUN: llvm-undname -warn-trailing 2>&1 < %s | FileCheck %s
3 ?x@@3HAasdf
4 ; CHECK: ?x@@3HAasdf
5 ; CHECK-NEXT: int x
6 ; CHECK-NEXT: warning: trailing characters: asdf
8 .?AVNet@@
9 ; CHECK: .?AVNet@@
10 ; CHECK-NEXT: class Net `RTTI Type Descriptor Name'
11 ; CHECK-NOT: warning: trailing characters