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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
nested4.C
blob
673fa3cb9099749c471c6ed1787f4f3f9edf40a7
1
// { dg-do assemble }
2
//
3
// Copyright (C) 2000 Free Software Foundation, Inc.
4
// Contributed by Nathan Sidwell 10 Aug 2000 <nathan@codesourcery.com>
5
6
// bug 372 We ICE'd on the out-of-class definition of a nested class of a
7
// class template.
8
9
struct Bar
10
{
11
};
12
13
template <class T>
14
struct Foo
15
{
16
struct Baz;
17
struct Biz;
18
struct Boz
19
: Bar
20
{
21
};
22
};
23
24
template <class T>
25
struct Foo<T>::Biz
26
{
27
};
28
29
template <class T>
30
struct Foo<T>::Baz
31
: Bar
32
{
33
};