aboutsummaryrefslogtreecommitdiff
path: root/tests/tests2/90_struct-init.c
diff options
context:
space:
mode:
authorLarry Doolittle <ldoolitt@recycle.lbl.gov>2017-09-24 18:03:26 -0700
committerLarry Doolittle <ldoolitt@recycle.lbl.gov>2017-09-24 18:03:26 -0700
commit1b6806e5bb39623c75b4aa8d8d6ffe1ef7ea46e7 (patch)
tree07a87c82efa398bce0b3d663c72c7b8e52439a1e /tests/tests2/90_struct-init.c
parent44d4da62bb6aabd9030960fa41c12c097158ce0b (diff)
downloadtinycc-1b6806e5bb39623c75b4aa8d8d6ffe1ef7ea46e7.tar.gz
tinycc-1b6806e5bb39623c75b4aa8d8d6ffe1ef7ea46e7.tar.bz2
Spelling fixes
Comments only, no change to functionality
Diffstat (limited to 'tests/tests2/90_struct-init.c')
-rw-r--r--tests/tests2/90_struct-init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tests2/90_struct-init.c b/tests/tests2/90_struct-init.c
index ab33812..d931e23 100644
--- a/tests/tests2/90_struct-init.c
+++ b/tests/tests2/90_struct-init.c
@@ -60,7 +60,7 @@ struct U gu4 = { 3, {5,6,7,}, 5, { "bla", {44}} };
struct S gs3 = { (1), {(2)}, {(((3))), {4}}};
/* Superfluous braces, and leaving out braces for V.t, plus cast */
struct V gv = {{{3},4,{5,6}}, "haha", (u8)45, 46};
-/* Compund literal */
+/* Compound literal */
struct V gv2 = {(struct S){7,8,{9,10}}, {"hihi", 47}, 48};
/* Parens around compound literal */
struct V gv3 = {((struct S){7,8,{9,10}}), {"hoho", 49}, 50};
@@ -157,7 +157,7 @@ void foo (struct W *w, struct pkthdr *phdr_)
struct S ls3 = { (1), (2), {(((3))), 4}};
/* Superfluous braces, and leaving out braces for V.t, plus cast */
struct V lv = {{3,4,{5,6}}, "haha", (u8)45, 46};
- /* Compund literal */
+ /* Compound literal */
struct V lv2 = {(struct S)w->t.s, {"hihi", 47}, 48};
/* Parens around compound literal */
struct V lv3 = {((struct S){7,8,{9,10}}), ((const struct W *)w)->t.t, 50};