test/cc: Add 0231-init.c - scc - simple c99 compiler
(HTM) git clone git://git.simple-cc.org/scc
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit 1f6bfcd9114a69b495191dbc3d96c27e1468a8f9
(DIR) parent dfbe125c3b0d001a9f0d671c6adfdb41e488e8cf
(HTM) Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date: Sun, 11 May 2025 20:31:23 +0200
test/cc: Add 0231-init.c
Diffstat:
A tests/cc/execute/0231-init.c | 11 +++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/tests/cc/execute/0231-init.c b/tests/cc/execute/0231-init.c
@@ -0,0 +1,11 @@
+struct a {
+ int a;
+};
+
+int main()
+{
+ struct a a;
+ struct a aa = a;
+
+ return 0;
+}