comparison gcc/testsuite/gcc.c-torture/execute/pr87053.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* PR middle-end/87053 */
2
3 const union
4 { struct {
5 char x[4];
6 char y[4];
7 };
8 struct {
9 char z[8];
10 };
11 } u = {{"1234", "567"}};
12
13 int main ()
14 {
15 if (__builtin_strlen (u.z) != 7)
16 __builtin_abort ();
17 }