test.c
- - - 8<- - - - - - - - - - - - -
int f() {
        ({
                return 0;
        });
}

int main(int argc, char**argv) {
}
- - - 8<- - - - - - - - - - - - -
hello the above program gives me:
test.c:5 warning: function might return no value: 'f'
although obviously the function will return
gcc/clang do not complain here
I forgot the proper term for the "compound expression" thing
thanks
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to