summary refs log tree commit diff stats
path: root/tests/ccgbugs/m19445.c
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2022-03-24 03:57:13 +0800
committerGitHub <noreply@github.com>2022-03-23 20:57:13 +0100
commit2c01c9c4c8a20772ebbb91f3333feb5dbcc94e9e (patch)
tree60795b8aa24479de3d1648f607f9316c58770db1 /tests/ccgbugs/m19445.c
parentb0bd4320a0cd9a90acf44bca0dddf10fa5022969 (diff)
downloadNim-2c01c9c4c8a20772ebbb91f3333feb5dbcc94e9e.tar.gz
output byref types into --header file [backport: 1.6] (#19505)
* output byref types into --header file

fix #19445

* fix comments

* set targets
Diffstat (limited to 'tests/ccgbugs/m19445.c')
-rw-r--r--tests/ccgbugs/m19445.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ccgbugs/m19445.c b/tests/ccgbugs/m19445.c
new file mode 100644
index 000000000..74c23d4b4
--- /dev/null
+++ b/tests/ccgbugs/m19445.c
@@ -0,0 +1,3 @@
+#include "m19445.h"
+
+const Foo f = {10, 20, 30, 40};
\ No newline at end of file