Debian Codegraph @

gcc/testsuite/g++.dg/debug/dwarf2/constexpr-var-1.C

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;