For PR1338: Rename test dirs
[oota-llvm.git] / test / FrontendC / 2007-10-01-BuildArrayRef.c
1 // RUN: not %llvmgcc -S %s -o /dev/null |& grep "error: assignment of read-only location"
2 // PR 1603
3 int func()
4 {
5    const int *arr;
6    arr[0] = 1;
7 }
8