Re-enable 'test/SemaTemplate/temp_class_spec_neg.cpp', after commenting out the cause of the crash.

llvm-svn: 76337
This commit is contained in:
Argyrios Kyrtzidis 2009-07-18 21:18:10 +00:00
parent d6bf03c272
commit c7082933e6
2 changed files with 4 additions and 6 deletions

View File

@ -57,7 +57,9 @@ void VariableArrayType::Destroy(ASTContext& C) {
}
void DependentSizedArrayType::Destroy(ASTContext& C) {
SizeExpr->Destroy(C);
// FIXME: Resource contention like in ConstantArrayWithExprType ?
// May crash, depending on platform or a particular build.
// SizeExpr->Destroy(C);
this->~DependentSizedArrayType();
C.Deallocate(this);
}

View File

@ -1,8 +1,4 @@
// FIXME: Disabled because this always crashes on some platforms.
// RUNX: clang-cc -fsyntax-only -verify %s
// RUN: false
// XFAIL
// RUN: clang-cc -fsyntax-only -verify %s
template<typename T> struct vector;
// C++ [temp.class.spec]p6: