Files
ArduinoJson/extras/tests/FailingBuilds/read_long_long.cpp
2025-02-24 15:18:26 +01:00

17 lines
391 B
C++

// ArduinoJson - https://arduinojson.org
// Copyright © 2014-2025, Benoit BLANCHON
// MIT License
#define ARDUINOJSON_USE_LONG_LONG 0
#include <ArduinoJson.h>
#if defined(__SIZEOF_LONG__) && __SIZEOF_LONG__ >= 8
# error This test requires sizeof(long) < 8
#endif
ARDUINOJSON_ASSERT_INTEGER_TYPE_IS_SUPPORTED(long long)
int main() {
JsonDocument doc;
doc["dummy"].as<long long>();
}