summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2008-09-02 10:10:14 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2008-09-02 10:10:14 +0000
commitdd30e2c6775806d71cdc273fef21390deda9981f (patch)
tree7a4e41a5111157b9589da9c0cab9f2f05053cc2d /clang/test
parent7b704a502b864f832bc9b2760abc8e6ed2348d79 (diff)
downloadbcm5719-llvm-dd30e2c6775806d71cdc273fef21390deda9981f.tar.gz
bcm5719-llvm-dd30e2c6775806d71cdc273fef21390deda9981f.zip
add the other test case for completeness and to avoid regressions in the future
llvm-svn: 55629
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Sema/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/Sema/init.c b/clang/test/Sema/init.c
index 10eed146a0d..9f91c42f446 100644
--- a/clang/test/Sema/init.c
+++ b/clang/test/Sema/init.c
@@ -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))
};
OpenPOWER on IntegriCloud