diff mbox

[testsuite] : Cleanup saved temps in g++.dg/other/pr47218.C

Message ID AANLkTinPvatQeq437ER_FKdn4MKhWeGkzJMx8+GOXv_p@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak Feb. 23, 2011, 10:56 a.m. UTC
Hello!

This change is not enough to clean saved temps of additional sources
due to the way "additional_sources" global variable is handled through
the dejagnu exp files.

2011-02-23  Uros Bizjak  <ubizjak@gmail.com>

	* g++.dg/other/pr47218.C: Fix dg-options.  Cleanup saved temps.

Tested on x86_64-pc-linux-gnu, committed to mainline SVN.

Uros.
diff mbox

Patch

Index: g++.dg/other/pr47218.C
===================================================================
--- g++.dg/other/pr47218.C	(revision 170435)
+++ g++.dg/other/pr47218.C	(working copy)
@@ -1,5 +1,5 @@ 
 /* { dg-do link } */
-/* { dg-options "--save-temps" } */
+/* { dg-options "-save-temps" } */
 /* { dg-additional-sources "pr47218-1.C" } */

 #include "pr47218.h"
@@ -17,3 +17,5 @@ 
 {
   return 0;
 }
+
+// { dg-final cleanup-saved-temps }