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
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
crash67.C
blob
6325c7282948d7b6bf1a9439e3c51211edcccdd5
1
// { dg-do assemble }
2
// { dg-options "" }
3
//
4
// Copyright (C) 2001, 2003 Free Software Foundation, Inc.
5
// Contributed by Nathan Sidwell 6 May 2001 <nathan@codesourcery.com>
6
7
// Bug 2526. We ICE'd after diagnosing dependent name confusion in
8
// friendliness when not being pedantic.
9
10
template<typename T>
11
struct B
12
{
13
typedef B<T> Mother;
14
};
15
16
template<typename T>
17
struct D : B<T>
18
{
19
friend class Mother;
20
};