mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-30 16:21:30 +00:00
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;
|
|
}
|