Files
clang-p2996/lldb/test/functionalities/thread/crash_during_step/main.cpp
Pavel Labath 14e21925a5 Add TestCrashDuringStep
this tests that a crash that happens during instruction step is reported correctly.

llvm-svn: 245440
2015-08-19 14:15:45 +00:00

17 lines
435 B
C++

//===-- main.cpp ------------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
void (*crash)() = nullptr;
int main()
{
crash(); // Set breakpoint here
return 0;
}