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 6class Q { 7 template<class T> 8 class X { // { dg-error "" } Q::X private 9 }; 10}; 11template<template<class> class XX> 12class Y { 13 XX<int> x_; 14}; 15Y<Q::X> y; // { dg-error "" } instantiated from here 16