2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / memtemp89.C
blobd4d560eedd4ad8cbd26e22d7798767b1822dc19b
1 // { dg-do assemble  }
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 {               // { dg-error "" } Q::X private
9         };
11 template<template<class> class XX>
12 class Y {
13         XX<int> x_;
15 Y<Q::X> y;                      // { dg-error "" } instantiated from here