Fix PR4948 (and a leak): by not destroying the DwarfException
[llvm/avr.git] / test / FrontendC / 2007-10-01-BuildArrayRef.c
blobe9037552308a20ec64d3bedbf201134ff639654a
1 // RUN: not %llvmgcc -S %s -o /dev/null |& grep "error: assignment of read-only location"
2 // PR 1603
3 int func()
5 const int *arr;
6 arr[0] = 1;