Skip to content
This repository was archived by the owner on Jan 27, 2025. It is now read-only.

Commit 4000b0b

Browse files
committed
test: add sample targets
1 parent 48e2533 commit 4000b0b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

targets/struct.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
struct RT {
2+
char A;
3+
int B[10][20];
4+
char C;
5+
};
6+
7+
struct ST {
8+
int X;
9+
double Y;
10+
struct RT Z;
11+
};
12+
13+
int *foo(struct ST *s) { return &s[1].Z.B[5][13]; }

0 commit comments

Comments
 (0)