OVMS3-idf/components/esp32/test/test_exception.c

10 lines
169 B
C
Raw Normal View History

#include "unity.h"
#include "esp_system.h"
#include "string.h"
TEST_CASE("make exception", "[restart][reset=StoreProhibited,SW_CPU_RESET]")
{
*(int *) NULL = 0;
}