aboutsummaryrefslogtreecommitdiffhomepage
path: root/test.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2023-05-28 09:40:42 +0200
committerlemon <lsof@mailbox.org>2023-05-28 09:40:42 +0200
commit6f7bea0cff2ecbca3427def8ead2c9ceec966b14 (patch)
treeb8a4e0ecf13f7025a6dc2d057ce949def45b90be /test.c
parent0be496ba1ca5695091494576fb18e4368789b491 (diff)
bool fixes
Diffstat (limited to 'test.c')
-rw-r--r--test.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test.c b/test.c
index 2f2a39a..9832d1d 100644
--- a/test.c
+++ b/test.c
@@ -34,6 +34,11 @@ int diff(struct f *x, struct f *y)
return x - y;
}
+_Bool narrow(int x)
+{
+ return (float) x;
+}
+
#define xx 2
int waaa[xx == 0 ? 'Z'