Debian Codegraph @

gcc/testsuite/g++.dg/other/anon-union8.C

raw
1 // PR c++/124850
2 // { dg-do compile }
3
4 static union { int i; };
5 int &r = i;
6
7 int
8 foo ()
9 {
10 return r;
11 }