]> granicus.if.org Git - clang/commit
add another test for the undef patch just for to have peace of mind :)
authorNuno Lopes <nunoplopes@sapo.pt>
Fri, 16 Apr 2010 21:19:39 +0000 (21:19 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Fri, 16 Apr 2010 21:19:39 +0000 (21:19 +0000)
commit69cf5de24740d25b8b63126911eb9ccb8672cb07
treeb99de02df1cbbd75a46e2aadafa7d9dd9c948ddd
parentd39a0d6119a3bf69e3e5149b778e825b77b2e06a
add another test for the undef patch just for to have peace of mind :)
this follows from C99 6.7.8p10: if it is a union, the first named member is initialized

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101539 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/designated-initializers.c