diff mbox series

[committed] Make g++.dg/concepts/memfun-err.C compile-only

Message ID 20181022200247.GJ6974@redhat.com
State New
Headers show
Series [committed] Make g++.dg/concepts/memfun-err.C compile-only | expand

Commit Message

Marek Polacek Oct. 22, 2018, 8:02 p.m. UTC
This test checks compile-time errors, so there's no point in trying to
actually run it.

Committed as obvious.

2018-10-22  Marek Polacek  <polacek@redhat.com>

	PR testsuite/87694
	* g++.dg/concepts/memfun-err.C: Make it a compile test.
diff mbox series

Patch

--- gcc/testsuite/g++.dg/concepts/memfun-err.C
+++ gcc/testsuite/g++.dg/concepts/memfun-err.C
@@ -1,4 +1,4 @@ 
-// { dg-do run { target c++17 } }
+// { dg-do compile { target c++17 } }
 // { dg-options "-fconcepts" }