зеркало из https://github.com/microsoft/clang-1.git
Re-enable 'test/SemaTemplate/temp_class_spec_neg.cpp', after commenting out the cause of the crash.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76337 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
dc50c64c13
Коммит
e7f38406a3
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче