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
MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
ice10419.d
blob
827f0451824e2e75b4c5d761d68359cf8abb3b0b
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/ice10419.d(12): Error: `arr().length` is not an lvalue and cannot be modified
5
---
6
*/
7
8
int
[]
arr
() {
return
[]; }
9
10
void
main
()
11
{
12
arr
().
length
=
1
;
13
}