aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/Shell/Commands/command-disassemble-mixed.c
blob: 4af85c0a4c020b2fb0fdf5859878a68f9f4c386c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// invalid mixed disassembly line

// XFAIL: target-windows

// 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;
}