Debian Codegraph @

gcc/testsuite/g++.dg/cpp1z/inline-var8.C

raw
1 // PR c++/97975
2 // { dg-do compile { target c++17 } }
3
4 template <class>
5 class A
6 {
7 static const float b;
8 static inline const int c = b;
9 };
10
11 A<int> a;
12
13 struct B
14 {
15 static const float b;
16 static inline const int c = b;
17 };