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
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
conv3.C
blob
383932d8c54a259be83667a5a82c5d8439f58199
1
// { dg-do assemble }
2
3
// submitted by David C Binderman <dcb@pncl.co.uk>
4
5
typedef const int ci;
6
typedef ci aci[ 10];
7
aci var = { 2, 3, 5, 7, 11, 13 };
8
9
void
10
f()
11
{
12
int * ip = var; // { dg-error "" } requires const_cast
13
}