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
RISC-V: Add support for riscv-*-*.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr48517.c
blob
4cfe038220b6a2a6c277920d682f2629fade98c5
1
/* PR c/48517 */
2
/* { dg-do compile } */
3
/* { dg-options "-std=gnu89" } */
4
5
void
bar
(
const unsigned short
*);
6
7
void
8
foo
(
void
)
9
{
10
static const unsigned short
array
[] = (
const unsigned short
[]) {
0x0D2B
};
11
const unsigned short
*
ptr
=
array
;
12
bar
(
ptr
);
13
}