(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.
* gdb/class2.exp: New file. * gdb/class2.cc: New file.