FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / memtemp89.C
blob8564221cfea5d9b28f023a1d354a2d2ea2a8c98d
1 // Build don't link:
3 // by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
4 // Copyright (C) 1999, 2000 Free Software Foundation
6 class Q {
7         template<class T>
8         class X {               // ERROR - Q::X private
9         };
11 template<template<class> class XX>
12 class Y {
13         XX<int> x_;
15 Y<Q::X> y;                      // ERROR - instantiated from here