[Vala] May be a silly bug



Hi,

I found a silly valac bug (segmentation fault during compilation).
Here the snippet:

using GLib;

namespace Tests
{
        public struct MyStruct {
        }

        static int main(string[] args)
        {
                MyStruct a;
                
                /* non sense I think 'a' can't be null, but... */
                if (a != null)
                        return 0;

                return 1;
        }
}

(valac svn rev. 145)


Bye,
Andrea




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]