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
2014-04-07 Charles Baylis <charles.baylis@linaro.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr54647.C
blob
2177ecd6799cf1b8bf4308eabe80c52b6ead2e01
1
// { dg-do compile }
2
3
class A
4
{
5
};
6
template <class type> struct D:A
7
{
8
type & operator[](int);
9
};
10
struct B
11
{
12
typedef D <int *>Row;
13
struct C
14
{
15
Row *row;
16
};
17
};
18
B::C a;
19
B::Row & b = *a.row;
20
void
21
fn1 ()
22
{
23
while (1)
24
b[0] = b[0] ? (int *) -1 : 0;
25
}