From fa8438f71ce56891ea29eedb3a330c4359d18e9c Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 11 Jan 2017 22:39:25 +0100 Subject: [PATCH] Fix up a typo. From-SVN: r244338 --- gcc/testsuite/g++.dg/cpp1y/constexpr-71537.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/cpp1y/constexpr-71537.C b/gcc/testsuite/g++.dg/cpp1y/constexpr-71537.C index 5d468d7c2e7..a1c9f4f26ab 100644 --- a/gcc/testsuite/g++.dg/cpp1y/constexpr-71537.C +++ b/gcc/testsuite/g++.dg/cpp1y/constexpr-71537.C @@ -8,7 +8,7 @@ foo () constexpr int o = n ? 1 : 0; constexpr int p = n + 1 ? 1 : 0; constexpr int q = "abc" + 1 ? 1 : 0; - return p + p + q == 3; + return o + p + q == 3; } static_assert (foo (), ""); -- 2.30.2