aboutsummaryrefslogtreecommitdiffstats
path: root/test/regression/sizeof1.c
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2021-09-30 13:23:42 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2021-09-30 13:23:42 +0200
commitef508dae3e880bdd30e9d57ca2a8b3e257b1203b (patch)
tree0cb08c27aeef48ca154525378419f5b129793b2b /test/regression/sizeof1.c
parentdbada6c41e51a03848b14260576ba825c3102313 (diff)
parent539b81a1a8823fb4aac64a9493bf0bafea2f2560 (diff)
downloadcompcert-kvx-ef508dae3e880bdd30e9d57ca2a8b3e257b1203b.tar.gz
compcert-kvx-ef508dae3e880bdd30e9d57ca2a8b3e257b1203b.zip
Merge branch 'towards_2.10' of ../towards_3.10 into kvx-work
Diffstat (limited to 'test/regression/sizeof1.c')
-rw-r--r--test/regression/sizeof1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/regression/sizeof1.c b/test/regression/sizeof1.c
index ca494622..5bd4d739 100644
--- a/test/regression/sizeof1.c
+++ b/test/regression/sizeof1.c
@@ -17,8 +17,8 @@ char tbl[sizeof(struct s)];
*/
struct bits1 {
- unsigned a: 1;
- unsigned b: 6;
+ unsigned char a: 1;
+ unsigned char b: 6;
};
char b1[sizeof(struct bits1)]; /* should be 1 */