]> granicus.if.org Git - clang/commitdiff
add the other test case for completeness and to avoid regressions in the future
authorNuno Lopes <nunoplopes@sapo.pt>
Tue, 2 Sep 2008 10:10:14 +0000 (10:10 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Tue, 2 Sep 2008 10:10:14 +0000 (10:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55629 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/init.c

index 10eed146a0d12d81f321bb01220af63f0c55b2d0..9f91c42f44618ba6da13063003e1e29ee80816f0 100644 (file)
@@ -64,5 +64,6 @@ struct sym_reg {
         char nc_gpreg;
 };
 int sym_fw1a_scr[] = {
-           ((int)(&((struct sym_reg *)0)->nc_gpreg)) & 0
+           ((int)(&((struct sym_reg *)0)->nc_gpreg)) & 0,
+           8 * ((int)(&((struct sym_reg *)0)->nc_gpreg))
 };