☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
debug
/
dwarf2
/
constexpr-var-1.C
☽
☼
gcc/testsuite/g++.dg/debug/dwarf2/constexpr-var-1.C
code
plain
raw
1
// { dg-do compile }
2
// { dg-options "-O -std=c++11 -g -dA -gno-strict-dwarf" }
3
// { dg-final { scan-assembler-times " DW_AT_const_expr" 2 { xfail *-*-aix* } } }
4
5
constexpr int a = 5;
6
struct S
7
{
8
static constexpr int b = 6;
9
} s;