mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-17 04:22:18 +02:00
16 lines
348 B
C++
16 lines
348 B
C++
// ArduinoJson - https://arduinojson.org
|
|
// Copyright © 2014-2024, 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
|
|
|
|
int main() {
|
|
JsonDocument doc;
|
|
doc["dummy"] = static_cast<long long>(42);
|
|
}
|