zephyr/lib/cpp/minimal/cpp_virtual.c

23 lines
347 B
C

/*
* Copyright (c) 2015 Wind River Systems, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
/*
* @file
* @brief Stub for C++ pure virtual functions
*/
/**
* @brief Stub for pure virtual functions
*
* This routine is needed for linking C++ code that uses pure virtual
* functions.
*/
void __cxa_pure_virtual(void)
{
while (1) {
}
}