Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/nsdmi-aggr7.C

raw
1 // PR c++/79797
2 // { dg-do compile { target c++14 } }
3
4 struct A
5 {
6 A* x[1]{(A*)this};
7 };
8
9 extern constexpr A a{};
10
11 #define SA(X) static_assert ((X), #X)
12 SA (a.x[0] == &a);