repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
elab1.C
blob
778150f06dc92ca32600417b7c4392e3da45dc46
1
// Copyright (C) 2003 Free Software Foundation
2
// Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
3
// { dg-do compile }
4
5
// Elaborate type specifier of class template
6
7
template <class T> class A {
8
class B;
9
};
10
11
template <class T> class A<T>::B {
12
friend class A;
13
};