OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / memtemp86.C
1 // { dg-do assemble }
2
3 // by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
4 // Copyright (C) 1999 Free Software Foundation
5
6 struct Q {
7         template<class>
8         class X {
9         };
10 };
11 template<template<class> class>
12 class Y {
13 };
14 Y<typename Q::X> y; // { dg-error "" } typename out of template context
15