projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3594adc
)
Fix up a typo.
author
Jakub Jelinek
<jakub@gcc.gnu.org>
Wed, 11 Jan 2017 21:39:25 +0000
(22:39 +0100)
committer
Jakub Jelinek
<jakub@gcc.gnu.org>
Wed, 11 Jan 2017 21:39:25 +0000
(22:39 +0100)
From-SVN: r244338
gcc/testsuite/g++.dg/cpp1y/constexpr-71537.C
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.dg/cpp1y/constexpr-71537.C
b/gcc/testsuite/g++.dg/cpp1y/constexpr-71537.C
index 5d468d7c2e75891fc3706d9edd0dbc6ae3deb562..a1c9f4f26ab8ab6a17a1e97520cfd6a8debdfdd0 100644
(file)
--- 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 (), "");