Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/other/anon2.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
// Test that we can have an unnamed struct inside an anonymous union. struct A { union { struct { int i; } foo; }; }; static union { struct { int i; } foo; }; int main () { union { struct { int i; } bar; }; }