Mercurial > hg > CbC > CbC_llvm
diff clang/test/CodeGen/2009-06-14-anonymous-union-init.c @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/clang/test/CodeGen/2009-06-14-anonymous-union-init.c Thu Feb 13 15:10:13 2020 +0900 @@ -0,0 +1,7 @@ +// RUN: %clang_cc1 -emit-llvm < %s | grep "zeroinitializer, i16 16877" +// PR4390 +struct sysfs_dirent { + union { struct sysfs_elem_dir {} s_dir; }; + unsigned short s_mode; +}; +struct sysfs_dirent sysfs_root = { {}, 16877 };