13 lines · cpp
1// clang-format off2 3// REQUIRES: target-windows4// RUN: %build --compiler=clang-cl -o %t.exe -- %s5// RUN: env LLDB_USE_NATIVE_PDB_READER=1 %lldb -f %t.exe -o "b main" -o "process launch" -o "process load kernel32.dll" | FileCheck %s6 7int main(int argc, char *argv[]) {8 return 0;9}10 11// CHECK: "Loading "kernel32.dll"...ok{{.*}}12// CHECK: Image 0 loaded.13