summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp91.C
blob: 18b52a433b101eee3dce7dd035e313a6e53bc34a (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 -

// simplified from bug report by Leon Bottou <leonb@research.att.com>
// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
// Copyright (C) 1999 Free Software Foundation

struct A {
	template <class T>
	struct B {
		T x;
	};
	template <class T>
	struct C : B<T> {
		C() {}
	};
};