-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.cpp
More file actions
26 lines (18 loc) · 587 Bytes
/
test.cpp
File metadata and controls
26 lines (18 loc) · 587 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* This is free and unencumbered software released into the public domain. */
#include "drylib.hpp"
#include <cstdlib> /* for EXIT_SUCCESS */
using namespace dry;
using namespace dry::text;
////////////////////////////////////////////////////////////////////////////////
static void
test_text_ascii(void) {
const auto s = ascii::make_string("hello");
ascii::length(s);
printf::sprintf("Hello, %s!", "world");
}
////////////////////////////////////////////////////////////////////////////////
int
main(int argc, char* argv[]) {
test_text_ascii();
return EXIT_SUCCESS;
}