Debian Codegraph @

.cargo/vendor/cbindgen/tests/expectations/namespaces_constant.cpp

raw
1 #include <cstdarg>
2 #include <cstdint>
3 #include <cstdlib>
4 #include <ostream>
5 #include <new>
6
7 namespace constants {
8 namespace test {
9
10 constexpr static const int32_t FOO = 10;
11
12 constexpr static const float ZOM = 3.14;
13
14 struct Foo {
15 int32_t x[FOO];
16 };
17
18 extern "C" {
19
20 void root(Foo x);
21
22 } // extern "C"
23
24 } // namespace test
25 } // namespace constants