20-promote-sign.c (180B)
1 // tests/cc-parse/20-promote-sign.c — integer promotion preserves sign. 2 // §A.6 of docs/CC-PUNCHLIST.md. 3 4 int main() { 5 signed char x = -1; 6 return (((int)x) + 2) == 1; 7 }
boot2Playing with the boostrap | |
| git clone https://git.ryansepassi.com/git/boot2.git | |
| Log | Files | Refs | README |