cxx: add iostreams test

Checks that libstdc++ can use newlib IO functions
pull/249/head
Ivan Grokhotkov 2017-01-10 23:45:44 +08:00
rodzic 23448e7121
commit f04e62e6cc
1 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -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";
}