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
modula2 testsuite: new libc unit test
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr78684.C
blob
5d71be5fce4f1188e66ed6c3b9caa0e7661e37fd
1
// PR middle-end/78684
2
// { dg-do compile }
3
4
class a {
5
public:
6
a(long);
7
void operator<<=(long) {
8
long b;
9
for (unsigned long c; c; c--)
10
d[c + b] = d[c];
11
}
12
a &g();
13
long d[28];
14
};
15
long e;
16
int f;
17
void j() {
18
a h(e), i = h;
19
i.g() <<= f;
20
}