summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/experimental/propagate_const/requirements3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/experimental/propagate_const/requirements3.cc')
-rw-r--r--libstdc++-v3/testsuite/experimental/propagate_const/requirements3.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/experimental/propagate_const/requirements3.cc b/libstdc++-v3/testsuite/experimental/propagate_const/requirements3.cc
index 59d5f073ccc..88753bf2fea 100644
--- a/libstdc++-v3/testsuite/experimental/propagate_const/requirements3.cc
+++ b/libstdc++-v3/testsuite/experimental/propagate_const/requirements3.cc
@@ -21,6 +21,6 @@
using std::experimental::propagate_const;
-// { dg-error "requires a class or a pointer to an object type" "" { target *-*-* } 107 }
-
propagate_const<void (*)()> test1;
+
+// { dg-error "requires a class or a pointer to an object type" "" { target *-*-* } 0 }