OSDN Git Service

d4d560eedd4ad8cbd26e22d7798767b1822dc19b
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / memtemp89.C
1 // { dg-do assemble  }
2
3 // by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
4 // Copyright (C) 1999, 2000 Free Software Foundation
5
6 class Q {
7         template<class T>
8         class X {               // { dg-error "" } Q::X private
9         };
10 };
11 template<template<class> class XX>
12 class Y {
13         XX<int> x_;
14 };
15 Y<Q::X> y;                      // { dg-error "" } instantiated from here