forked from OSchip/llvm-project
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:
parent
d6bf03c272
commit
c7082933e6
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue