a statement expressions with a pointer return type
commit09feeca5dffd3d369a8996ef68f66334d4d2c637
authorseyko <seyko2@gmail.com>
Tue, 3 Mar 2015 12:29:14 +0000 (3 15:29 +0300)
committerseyko <seyko2@gmail.com>
Tue, 3 Mar 2015 12:29:14 +0000 (3 15:29 +0300)
treee88dc4736cdd1f1b20e60523c78e085216e631b4
parent1a1e9548fba67d321da10dc9f9df858278f5d5ca
a statement expressions with a pointer return type
A test program:
    //////////////
    int main()
    {
void *p = ({ 0 ; ((void *)1); });
    }
    /////////////
Porblem is introduced in a commit a80acab: Display error on statement expressions with complex return type
This error is exposed when compiling a linux 2.4.26. tcc 0.9.23 can sucessfully compile
this version of the linux.
tccgen.c