repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr67410.c
blob
ff3c4f16867dcaaee954b2e09fabf078032c51f1
1
/* PR c/67410 */
2
/* { dg-do run } */
3
/* { dg-options "-std=gnu11" } */
4
5
struct
{
6
__CHAR16_TYPE__ s
[
2
];
7
}
a
[] = {
u
"ff"
, [
0
].
s
[
0
] =
u
'x'
, [
1
] =
u
"
\u1234\u4567
"
, [
1
].
s
[
0
] =
u
'
\u89ab
'
};
8
9
int
10
main
()
11
{
12
if
(
a
[
0
].
s
[
0
] !=
u
'x'
||
a
[
0
].
s
[
1
] !=
u
'f'
||
a
[
1
].
s
[
0
] !=
u
'
\u89ab
'
||
a
[
1
].
s
[
1
] !=
u
'
\u4567
'
)
13
__builtin_abort
();
14
return
0
;
15
}