New test
From-SVN: r22067
This commit is contained in:
parent
c296fce54e
commit
0078ab63c4
1 changed files with 27 additions and 0 deletions
27
gcc/testsuite/g++.old-deja/g++.pt/crash21.C
Normal file
27
gcc/testsuite/g++.old-deja/g++.pt/crash21.C
Normal file
|
@ -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<unsigned Dim, class LHS, class RHS, class OP>
|
||||
class BrickExpression : public BrickExpressionBase
|
||||
{
|
||||
};
|
||||
|
||||
template <unsigned Dim, class T>
|
||||
void f()
|
||||
{
|
||||
typedef BrickExpression<Dim, T, T, T> ExprT;
|
||||
ExprT(3).apply;
|
||||
}
|
Loading…
Add table
Reference in a new issue