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 |
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 |