☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-overflow2.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/constexpr-overflow2.C
code
plain
raw
1
// PR c++/47504
2
// { dg-do compile { target c++11 } }
3
4
char constexpr sub(char arg)
5
{ return char(arg - char(1)); }
6
7
int main()
8
{ static char constexpr m = sub(-1); }