diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/memtemp87.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/memtemp87.C | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp87.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp87.C new file mode 100644 index 000000000..99b4cd384 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.pt/memtemp87.C @@ -0,0 +1,16 @@ +// { dg-do assemble } + +// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc. +// Copyright (C) 1999, 2002 Free Software Foundation + +class Q { +public: + template<class> + class X { + }; +}; +template<template<class> class> +class Y { +}; +Q::template X<int> x; // { dg-error "" } template syntax + |