projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 4.8.1
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr54647.C
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
}