this tests that a crash that happens during instruction step is reported correctly. llvm-svn: 245440
17 lines
435 B
C++
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;
|
|
}
|