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
/
fail7369.d
blob
4ba11e4abb7836d52edfcfbf9970ee2396ee38b9
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/fail7369.d(9): Error: cannot modify `this.a` in `const` function
5
---
6
*/
7
struct
S7369
{
8
int
a
;
9
invariant
() {
a
+=
5
; }
10
}