ref: 52ef3bfb727b3f197caf482fbd151a062fa34c70
parent: ec4c79f3a6ed97ec0c407a870827382cbefb1166
author: Roberto E. Vargas Caballero <[email protected]>
date: Wed Jun 15 14:28:43 EDT 2022
test/cc: Add 0207-structcb
--- /dev/null
+++ b/tests/cc/execute/0207-structcb.c
@@ -1,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;
+}
--- 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