www.digitalmars.com         C & C++   DMDScript  

c++ - C bug: Incorrect handling of subscript operator

reply "Matthew" <admin stlsoft.dot.dot.dot.dot.org> writes:
    int main()
    {
        char    sz[10];

        char    ch1 =   sz[0];
        char    ch2 =   0[sz];    // << Invalid compiler error here

        return 0;
    }
Apr 01 2005
parent "Matthew" <matthew hat.stlsoft.dot.org> writes:
Any progress on this?

"Matthew" <admin stlsoft.dot.dot.dot.dot.org> wrote in message
news:d2lfui$2htn$1 digitaldaemon.com...
     int main()
     {
         char    sz[10];

         char    ch1 =   sz[0];
         char    ch2 =   0[sz];    // << Invalid compiler error here

         return 0;
     }

Sep 11 2005