> I like the idea, but there are two gotchas: > > . update the copyright year in class2.exp (sound of a club banging on my head) > . quote the '{' and '}' chars in class2.exp: > > "= \{\}" > > With these two changes, and if you re-test, then I approve the patch. Thanks. Here is what I ended up checking in. 2004-02-26 J. Brobecker * 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. Re-tested on x86-linux. -- Joel