From 8270a0ca766ea834032daeb67c7f32a1947ab3bd Mon Sep 17 00:00:00 2001 From: Jeff Waugh Date: Tue, 15 Nov 2016 14:37:20 +1100 Subject: Transition to libbindgen sub-crate - The root crate is the `bindgen` binary - Rust-ify the test suite, no more subprocesses! - Update Travis config to test both crates --- libbindgen/tests/headers/class_static_const.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 libbindgen/tests/headers/class_static_const.hpp (limited to 'libbindgen/tests/headers/class_static_const.hpp') diff --git a/libbindgen/tests/headers/class_static_const.hpp b/libbindgen/tests/headers/class_static_const.hpp new file mode 100644 index 00000000..150afe8b --- /dev/null +++ b/libbindgen/tests/headers/class_static_const.hpp @@ -0,0 +1,8 @@ +using int32_t = int; +typedef unsigned int uint32_t; + +class A { + static const int a = 0; + static const int32_t b = 077; + static const uint32_t c = 0xff; +}; -- cgit v1.2.3