diff --git a/examples/simple/example_encoder.c b/examples/simple/example_encoder.c
index 174694237cfeb83c05093a73bbdf56e8f513a4ad..ea77e11ca026daa100b5b19d6c8449d72c1ba6cf 100644
--- a/examples/simple/example_encoder.c
+++ b/examples/simple/example_encoder.c
@@ -20,9 +20,13 @@ int main(int argc, char *argv[]) {
 				labcomm_default_error_handler, 
 				labcomm_default_memory,
 				labcomm_default_scheduler);
+  labcomm_encoder_register_simple_doavoid(encoder);
   labcomm_encoder_register_simple_theTwoInts(encoder);
   labcomm_encoder_register_simple_anotherTwoInts(encoder);
   labcomm_encoder_register_simple_IntString(encoder);
+
+  labcomm_encode_simple_doavoid(encoder);
+
   simple_IntString is;
   is.x = 24;
   is.s = "Hello, LabComm!";
diff --git a/examples/simple/simple.lc b/examples/simple/simple.lc
index 518395755eda152f137213ae8ab86fed14434f16..b0fe24abab3369c86a27762f7fbec04591d033e7 100644
--- a/examples/simple/simple.lc
+++ b/examples/simple/simple.lc
@@ -25,3 +25,7 @@ sample struct {
   int a[2];
   int b[2,3];
 } TwoFixedArrays;
+
+// typedef void avoid;
+
+sample void doavoid;