xref: /llvm-project/lldb/test/Shell/Commands/command-breakpoint-col.test (revision 223a209027b44daeac53508bea154bc29314bddb)
1# UNSUPPORTED: system-windows
2#
3# RUN: %clang_host -g -O0 %S/Inputs/main.c -o %t.out
4# RUN: %lldb -b -o 'help breakpoint set' -o 'breakpoint set -f main.c -l 2 -u 21' %t.out | FileCheck %s --check-prefix HELP --check-prefix CHECK
5# RUN: %lldb -b -o 'help _regexp-break' -o 'b main.c:2:21' %t.out | FileCheck %s --check-prefix HELP-REGEX --check-prefix CHECK
6# HELP: -u <column> ( --column <column> )
7# HELP: Specifies the column number on which to set this breakpoint.
8# HELP-REGEX: _regexp-break <filename>:<linenum>:<colnum>
9# HELP-REGEX: main.c:12:21{{.*}}Break at line 12 and column 21 of main.c
10# CHECK: at main.c:2:21
11