scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 52ef3bfb727b3f197caf482fbd151a062fa34c70
parent ec4c79f3a6ed97ec0c407a870827382cbefb1166
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 15 Jun 2022 18:28:43 +0200

test/cc: Add 0207-structcb

Diffstat:
Atests/cc/execute/0207-structcb.c | 13+++++++++++++
Mtests/cc/execute/scc-tests.lst | 1+
2 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/tests/cc/execute/0207-structcb.c b/tests/cc/execute/0207-structcb.c @@ -0,0 +1,13 @@ +typedef int (cookie_seek_function_t)(void); + +typedef struct _IO_cookie_io_functions_t { + cookie_seek_function_t *seek; +} cookie_io_functions_t; + +cookie_seek_function_t seek; + +int +main(void) +{ + return 0; +} diff --git a/tests/cc/execute/scc-tests.lst b/tests/cc/execute/scc-tests.lst @@ -197,3 +197,4 @@ 0204-cast.c 0205-cpparg.c 0206-initializer.c +0207-structcb.c