From: Marek Polacek Date: Thu, 14 Jan 2021 19:44:59 +0000 (-0500) Subject: c++: Tweak g++.dg/template/pr98372.C. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f6ffd449e0cc9f40943cb45f6941628d0e192ab2;p=gcc.git 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. --- 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;