repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-redeclaration3.C
blob
2b41b456fc34186955d1970d09cbe16d3df3a0ce
1
// PR c++/111132
2
// { dg-do compile { target c++11 } }
3
4
constexpr bool bar(void) {
5
return true;
6
}
7
8
constexpr bool foo() {
9
constexpr bool bar(void);
10
return bar();
11
}
12
13
static_assert(foo(), "");