summaryrefslogtreecommitdiff
path: root/tests/keeping_sizeof.c
diff options
context:
space:
mode:
authorMatthew Sotoudeh <matthew@masot.net>2023-07-30 18:18:25 -0700
committerMatthew Sotoudeh <matthew@masot.net>2023-07-30 18:18:25 -0700
commit44662c62f444fc50fe523d987199f6a10c9a693c (patch)
treeb52a68243ef283471c53d224fd3f0ae87f8c0d0f /tests/keeping_sizeof.c
parentf2297c20b69d942fd1e8fdcdd8f4d142c71de662 (diff)
add support for passing through sizeof & alignofs
Diffstat (limited to 'tests/keeping_sizeof.c')
-rw-r--r--tests/keeping_sizeof.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/keeping_sizeof.c b/tests/keeping_sizeof.c
new file mode 100644
index 0000000..caa34e9
--- /dev/null
+++ b/tests/keeping_sizeof.c
@@ -0,0 +1,4 @@
+int main() {
+ int x = sizeof(struct { int a; char b; });
+ return 0;
+}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback