From: Mark Mitchell Date: Fri, 28 Aug 1998 18:11:36 +0000 (+0000) Subject: New test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0078ab63c47b8d811d38d2743e3fe539f8e7de87;p=gcc.git New test From-SVN: r22067 --- 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 00000000000..4944d118edd --- /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; +}