xref: /llvm-project/flang/unittests/Runtime/CrashHandlerFixture.h (revision ffc67bb3602a6a9a4f886af362e1f2d7c9821570)
1 //===-- flang/unittests/Runtime/CrashHandlerFixture.h -----------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 /// Test fixture registers a custom crash handler to ensure death tests fail
10 /// with expected message.
11 //
12 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_FLANG_UNITTESTS_RUNTIMEGTEST_CRASHHANDLERFIXTURE_H
14 #define LLVM_FLANG_UNITTESTS_RUNTIMEGTEST_CRASHHANDLERFIXTURE_H
15 #include <gtest/gtest.h>
16 
17 struct CrashHandlerFixture : testing::Test {
18   void SetUp();
19 };
20 
21 #endif
22