verilator/test_regress/t/t_compiler_include_dpi.h
Bartłomiej Chmiel 20dba7464d
Support--compiler-include headers in user-supplied cpp files (#5271)
Signed-off-by: Bartłomiej Chmiel <bchmiel@antmicro.com>
2024-07-24 06:40:39 -04:00

16 lines
657 B
C++

// -*- mode: C++; c-file-style: "cc-mode" -*-
//*************************************************************************
//
// Copyright 2024 by Antmicro. This program is free software; you can
// redistribute it and/or modify it under the terms of either the GNU
// Lesser General Public License Version 3 or the Perl Artistic License
// Version 2.0.
// SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
//
//*************************************************************************
// no header guards to check if included once in pch file
extern "C" int dpii_add_check(int actual, int expected);
extern "C" void dpii_add(int a, int b, int* out);