Rebase.
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / memtemp89.C
blob1a1b5ea5f9f0c50ab1232014d396187a252079ab
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 "" } required from here