mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
cxx: add iostreams test
Checks that libstdc++ can use newlib IO functions
This commit is contained in:
parent
23448e7121
commit
f04e62e6cc
@ -1,6 +1,7 @@
|
||||
#include <functional>
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
#include "unity.h"
|
||||
#include "esp_log.h"
|
||||
#include "freertos/FreeRTOS.h"
|
||||
@ -201,3 +202,9 @@ TEST_CASE("before scheduler has started, static initializers work correctly", "[
|
||||
TEST_ASSERT_EQUAL(1, g_static_init_test3.index);
|
||||
TEST_ASSERT_EQUAL(2, StaticInitTestBeforeScheduler::order);
|
||||
}
|
||||
|
||||
|
||||
TEST_CASE("can use iostreams", "[cxx]")
|
||||
{
|
||||
std::cout << "hello world";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user