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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
template17.C
blob
27e4d047ccdbfd1a35dd721b675f8e6ec9c44d9e
1
// Caught by Booch Components.
2
// Bug: g++ tries to instantiate nested enums.
3
// Build don't link:
4
5
template <class T> struct A
6
{
7
struct B { };
8
enum C { c };
9
};
10
11
template struct A<int>;