g++.dg/cpp1y/constexpr-instantiate.C: Correct DejaGnu directives.
authorMartin Sebor <msebor@redhat.com>
Wed, 16 Mar 2016 17:42:41 +0000 (17:42 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Wed, 16 Mar 2016 17:42:41 +0000 (11:42 -0600)
From-SVN: r234264

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1y/constexpr-instantiate.C

index 451e65365fcc655176f80635a6e75618e55f813d..76b57ea488054dd6b263e4357419984b8d35c73a 100644 (file)
@@ -1,3 +1,7 @@
+2016-03-16  Martin Sebor  <msebor@redhat.com>
+
+       * g++.dg/cpp1y/constexpr-instantiate.C: Correct DejaGnu directives.
+
 2016-03-16  Richard Henderson  <rth@redhat.com>
 
        PR middle-end/70199
index 73d0508476b2ba437156029db69542640c28695a..ab2021b91bdd56ed427aeeaeeef5d3aabb4b4041 100644 (file)
@@ -1,7 +1,7 @@
 // PR c++/58281 - Problem with explicitly instantiated constexpr template
 //     functions 
 // { dg-do compile { target c++11 } }
-// { do-additional-options "-fdump-tree-optimized" }
+// { dg-options "-fdump-tree-optimized" }
 
 
 template <typename T>
@@ -17,4 +17,5 @@ bool g (int x) { return f (x); }
 template bool f<int>(int);
 
 // Verify that the defintions of both f() and g() are emitted.
-// { dg-final { scan-tree-dump "bool \[fg\](" "optimized" } }
+// { dg-final { scan-tree-dump-times "\nconstexpr bool f\\\(" 1 "optimized" } }
+// { dg-final { scan-tree-dump-times "\nbool g\\\(" 1 "optimized" } }