source: tests/bugs/140.cfa @ 474d610

arm-ehjacob/cs343-translationnew-ast-unique-expr
Last change on this file since 474d610 was 15806ed, checked in by Andrew Beach <ajbeach@…>, 15 months ago

Added bugs for 203 (the new multipart one) and 140 (the only issue marked critical).

  • Property mode set to 100644
File size: 178 bytes
Line 
1// Trac Ticket: https://cforall.uwaterloo.ca/trac/ticket/140
2
3#include <stdio.h>
4
5int main() {
6        char c[1] = { 3 };
7        int i = 4;
8        int r = 3 < 4 ? c[0] : i;
9        printf( "%d\n", r );
10}
Note: See TracBrowser for help on using the repository browser.