llvm-project/lldb/test/Shell/Commands/command-disassemble-mixed.c
Pavel Labath b71ac7eea4 [lldb/test] Fix command-disassemble-mixed.c
Add it to lit.local.cfg so that it's actually run, and change it to
(properly) use the %clang_host substitution.
2023-07-18 10:17:09 +02:00

19 lines
317 B
C

// invalid mixed disassembly line
// RUN: %clang_host -g %s -o %t
// RUN: %lldb %t -o "dis -m -n main" -o "exit" | FileCheck %s
// CHECK: int main
// CHECK: int i
// CHECK-NOT: invalid mixed disassembly line
// CHECK: return 0;
int main(int argc, char **argv)
{
int i;
for (i=0; i < 10; ++i) ;
return 0;
}