xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/2009-06-14-anonymous-union-init.c (revision eda6f5931d42c77e1480347b1fc3eef2f8d33806)
1 // RUN: %clang_cc1 -emit-llvm < %s | grep "zeroinitializer, i16 16877"
2 // PR4390
3 struct sysfs_dirent {
4  union { struct sysfs_elem_dir {} s_dir; };
5  unsigned short s_mode;
6 };
7 struct sysfs_dirent sysfs_root = { {}, 16877 };
8