This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
> I'd like to have the empty struct test anyway. Remember to add a > variable of that type if you add a type to class2.cc; or newer GCCs > will just elide the type. Would the following patch be ok to apply? 2004-02-26 J. Brobecker <brobecker@gnat.com> * gdb.cp/class2.cc (empty): New class. (refer): New function. (main): Declare an object of type empty and use it. * gdb.cp/class2.exp: Print the value of an object of type empty. Tested on x86-linux. -- Joel
Attachment:
empty.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |