blob: 3e24a68791e207ac9342fc76fc8c2322a5f34b8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// { dg-do assemble }
// regression test -
// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
// Copyright (C) 1999 Free Software Foundation
// related to bug report by Leon Bottou <leonb@research.att.com>
struct A {
template<class T>
struct B {
};
template<class T>
struct C {
B<T> b; // { dg-bogus "" } B is not a template
// but removing wrapper A gets rid of complaint
// also, replacing B<T> with A::B<T> also gets rid of complaint
};
};
|