[flang] Fix length handling in character kind implicit conversion (#74586)
[llvm-project.git] / lldb / test / Shell / SymbolFile / NativePDB / break-by-line.cpp
blobebb7114b985e67e7d89bf09008883a27e88f0918
1 // clang-format off
2 // REQUIRES: lld, x86
4 // Test that we can set simple breakpoints using PDB on any platform.
5 // RUN: %clang_cl --target=x86_64-windows-msvc -Od -Z7 -c /Fo%t.obj -- %s
6 // RUN: lld-link -debug:full -nodefaultlib -entry:main %t.obj -out:%t.exe -pdb:%t.pdb
7 // RUN: env LLDB_USE_NATIVE_PDB_READER=1 %lldb -f %t.exe -s \
8 // RUN: %p/Inputs/break-by-line.lldbinit | FileCheck %s
10 // This is a separate test from break-by-function.cpp because this test is
11 // sensitive to edits in the source file.
13 namespace NS {
14 int NamespaceFn(int X) {
15 return X + 42;
19 int main(int argc, char **argv) {
20 return NS::NamespaceFn(argc);
24 // CHECK: (lldb) target create "{{.*}}break-by-line.cpp.tmp.exe"
25 // CHECK: Current executable set to '{{.*}}break-by-line.cpp.tmp.exe'
26 // CHECK: (lldb) break set -f break-by-line.cpp -l 15
27 // CHECK: Breakpoint 1: where = break-by-line.cpp.tmp.exe`NS::NamespaceFn + {{[0-9]+}} at break-by-line.cpp:15