summaryrefslogtreecommitdiff
path: root/graph_macro/tests/works.rs
diff options
context:
space:
mode:
Diffstat (limited to 'graph_macro/tests/works.rs')
-rw-r--r--graph_macro/tests/works.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/graph_macro/tests/works.rs b/graph_macro/tests/works.rs
new file mode 100644
index 0000000..fe8a853
--- /dev/null
+++ b/graph_macro/tests/works.rs
@@ -0,0 +1,13 @@
+#![allow(dead_code)]
+
+use graph_macro::Testing;
+
+#[derive(Debug, Testing)]
+struct Haha {
+ size: usize,
+}
+
+#[test]
+fn it_works() {
+ println!("it works: {:?}", Haha { size: 0 });
+}