Fix regression by the previous commit.
	* gdb.python/lib-types.exp: Add c++ to the compilation flags.
+2012-06-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix regression by the previous commit.
+       * gdb.python/lib-types.exp: Add c++ to the compilation flags.
+
 2012-06-22  Tom Tromey  <tromey@redhat.com>
 
        * gdb.python/lib-types.exp: Use standard_testfile,
 
 
 standard_testfile .cc
 
-if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} {
+if {[prepare_for_testing $testfile.exp $testfile $srcfile {debug c++}]} {
     return -1
 }