* doc/sdccman.lyx,
[fw/sdcc] / src / regression / struct1.c
index e8a5b0315990108d6e0947ef1d4731de1c8665c4..edbe6716240bc1c0d8224401a65e64014322815d 100644 (file)
@@ -1,3 +1,5 @@
+#define __16F873
+#include "p16f873.h"
 //#include "p16c84.h"
 // Addition tests
 
@@ -65,7 +67,7 @@ struct_test (void)
   if (struct1.c0 != 1)
     failures++;
 }
-
+/*
 void
 ptr_to_struct (struct chars *p)
 {
@@ -79,7 +81,7 @@ ptr_to_struct (struct chars *p)
   if (p->c1 != 1)
     failures++;
 }
-
+*/
 void add_chars(void)
 {
 
@@ -97,7 +99,7 @@ main (void)
   struct1.c0 = 0;
   struct1.c1 = 0;
   struct_test ();
-  ptr_to_struct (&struct1);
+  //  ptr_to_struct (&struct1);
 
   struct1.c0 = 0;
   struct1.c1 = 1;