mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
eb3cd5e822
llvm-svn: 51695
9 lines
151 B
C
9 lines
151 B
C
// 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;
|
|
}
|
|
|