#![allow(dead_code)] #[macro_use] extern crate v11; #[macro_use] extern crate v11_macros; domain! { TEST } table! { #[kind = "append"] #[row_derive(Debug)] [TEST/yes_debug] { foo: [i32; SegCol], } } table! { #[kind = "append"] [TEST/no_debug] { foo: [i32; SegCol], } } use v11::Universe; #[test] fn compiles_with_or_without_debug() { TEST.register(); TEST.set_locked(false); // gotta cheat for tests! yes_debug::register(); no_debug::register(); Universe::new(&[]); }