☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-redeclaration4.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/constexpr-redeclaration4.C
code
plain
raw
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 bar(void);
9
10
constexpr bool foo() {
11
return bar();
12
}
13
14
static_assert(foo(), "");