projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pCode peep is fully working for the PIC port.
[fw/sdcc]
/
src
/
regression
/
struct1.c
diff --git
a/src/regression/struct1.c
b/src/regression/struct1.c
index e8a5b0315990108d6e0947ef1d4731de1c8665c4..32baf80876fd9fbc7986b5604c6373e8eade31e8 100644
(file)
--- a/
src/regression/struct1.c
+++ b/
src/regression/struct1.c
@@
-65,7
+65,7
@@
struct_test (void)
if (struct1.c0 != 1)
failures++;
}
if (struct1.c0 != 1)
failures++;
}
-
+/*
void
ptr_to_struct (struct chars *p)
{
void
ptr_to_struct (struct chars *p)
{
@@
-79,7
+79,7
@@
ptr_to_struct (struct chars *p)
if (p->c1 != 1)
failures++;
}
if (p->c1 != 1)
failures++;
}
-
+*/
void add_chars(void)
{
void add_chars(void)
{
@@
-97,7
+97,7
@@
main (void)
struct1.c0 = 0;
struct1.c1 = 0;
struct_test ();
struct1.c0 = 0;
struct1.c1 = 0;
struct_test ();
- ptr_to_struct (&struct1);
+
//
ptr_to_struct (&struct1);
struct1.c0 = 0;
struct1.c1 = 1;
struct1.c0 = 0;
struct1.c1 = 1;