aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@gcc.gnu.org>2017-01-11 22:39:25 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2017-01-11 22:39:25 +0100
commitfa8438f71ce56891ea29eedb3a330c4359d18e9c (patch)
treed3dc924b63e9b0165aa93fc9826d69b294060550
parent3594adc7b02ebd2a6f66d3b5db9f6ebbd1bc6547 (diff)
downloadgcc-fa8438f71ce56891ea29eedb3a330c4359d18e9c.zip
gcc-fa8438f71ce56891ea29eedb3a330c4359d18e9c.tar.gz
gcc-fa8438f71ce56891ea29eedb3a330c4359d18e9c.tar.bz2
Fix up a typo.
From-SVN: r244338
-rw-r--r--gcc/testsuite/g++.dg/cpp1y/constexpr-71537.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/cpp1y/constexpr-71537.C b/gcc/testsuite/g++.dg/cpp1y/constexpr-71537.C
index 5d468d7..a1c9f4f 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 (), "");