From 0078ab63c47b8d811d38d2743e3fe539f8e7de87 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Fri, 28 Aug 1998 18:11:36 +0000 Subject: New test From-SVN: r22067 --- gcc/testsuite/g++.old-deja/g++.pt/crash21.C | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 gcc/testsuite/g++.old-deja/g++.pt/crash21.C diff --git a/gcc/testsuite/g++.old-deja/g++.pt/crash21.C b/gcc/testsuite/g++.old-deja/g++.pt/crash21.C new file mode 100644 index 0000000..4944d11 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.pt/crash21.C @@ -0,0 +1,27 @@ +// Build don't link: +// Special g++ Options: +// crash test - XFAIL + +class Pooled +{ +}; + +class RefCounted +{ +}; + +class BrickExpressionBase : public RefCounted, public Pooled +{ +}; + +template +class BrickExpression : public BrickExpressionBase +{ +}; + +template +void f() +{ + typedef BrickExpression ExprT; + ExprT(3).apply; +} -- cgit v1.1