diff options
Diffstat (limited to 'tests/119.sh')
| -rw-r--r-- | tests/119.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/119.sh b/tests/119.sh new file mode 100644 index 0000000..e1dcb80 --- /dev/null +++ b/tests/119.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +cat <<'EOF' > expected +1,0 +1,1,1 +EOF +test_diff <<'EOF' +int printf(const char*, ...); + +int main() { + bool b1 = true, b0 = false; + printf("%d,%d\n", b1, b0); + printf("%d,%d,%d\n", sizeof(b1), sizeof(b0), sizeof(bool)); +} +EOF |
