13c66032d5
It's not necessary to store the tests in a separate repository, since other packages can just reference the tests in this repo. Also update, the other tests to pull from git repos in the rpms namespace.
16 lines
262 B
C++
16 lines
262 B
C++
#include <charconv>
|
|
#include <iostream>
|
|
#include <cstring>
|
|
|
|
using namespace std;
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
size_t r=0;
|
|
const char *begin = argv[1];
|
|
const char *end = begin + strlen(begin);
|
|
from_chars(begin, end, r);
|
|
cout << r << '\n';
|
|
return 0;
|
|
}
|