Sign in
llvm
/
llvm
/
refs/heads/release_24
/
.
/
test
/
FrontendC
/
2007-10-01-BuildArrayRef.c
blob: e9037552308a20ec64d3bedbf201134ff639654a [
file
] [
log
] [
blame
]
// RUN: not %llvmgcc -S %s -o /dev/null |& grep "error: assignment of read-only location"
// PR 1603
int
func
()
{
const
int
*
arr
;
arr
[
0
]
=
1
;
}