Software APIs
status_report_unittest_c.h
1 // Copyright lowRISC contributors (OpenTitan project).
2 // Licensed under the Apache License, Version 2.0, see LICENSE for details.
3 // SPDX-License-Identifier: Apache-2.0
4 
5 #ifndef OPENTITAN_SW_DEVICE_LIB_BASE_STATUS_REPORT_UNITTEST_C_H_
6 #define OPENTITAN_SW_DEVICE_LIB_BASE_STATUS_REPORT_UNITTEST_C_H_
7 
8 #include "sw/device/lib/base/status.h"
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 /**
15  * A test that uses TRY() to exercises status_report()
16  */
17 status_t status_report_unittest_c(void);
18 
19 #ifdef __cplusplus
20 }
21 #endif
22 #endif // OPENTITAN_SW_DEVICE_LIB_BASE_STATUS_REPORT_UNITTEST_C_H_