From f6ffd449e0cc9f40943cb45f6941628d0e192ab2 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Thu, 14 Jan 2021 14:44:59 -0500 Subject: [PATCH] c++: Tweak g++.dg/template/pr98372.C. This test was failing in C++11 because variable templates are only available in C++14. gcc/testsuite/ChangeLog: * g++.dg/template/pr98372.C: Only run in C++14 and up. --- gcc/testsuite/g++.dg/template/pr98372.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/template/pr98372.C b/gcc/testsuite/g++.dg/template/pr98372.C index f1e8b0f3323..054c94d9edb 100644 --- a/gcc/testsuite/g++.dg/template/pr98372.C +++ b/gcc/testsuite/g++.dg/template/pr98372.C @@ -1,5 +1,5 @@ // PR 98372 ICE due to incorrect type compare -// { dg-do compile { target c++11 } } +// { dg-do compile { target c++14 } } template using remove_pointer_t = typename _Tp ::type; template struct enable_if; -- 2.30.2