aboutsummaryrefslogtreecommitdiff
path: root/tests/cast-bool-char.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cast-bool-char.c')
-rw-r--r--tests/cast-bool-char.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/cast-bool-char.c b/tests/cast-bool-char.c
new file mode 100644
index 0000000..d05f575
--- /dev/null
+++ b/tests/cast-bool-char.c
@@ -0,0 +1,3 @@
+int main(void) {
+ return (_Bool)(unsigned char)256;
+}