commit | 7114cbab7eb6e8b714eb22f014327daf2c741c08 | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Fri Aug 27 19:56:05 2010 +0000 |
committer | John McCall <rjmccall@apple.com> | Fri Aug 27 19:56:05 2010 +0000 |
tree | bcd1022d812f7d2644132b032a3a6b4165b51cd0 | |
parent | 2ed8f000869103b1adc05d6bc4c635604b6e66a7 [diff] [blame] |
Continue to instantiate sub-statements in a CompoundStmt as long as we don't see a DeclStmt (failure to instantiate which generally causes panic). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112282 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaTemplate/instantiate-expr-4.cpp b/test/SemaTemplate/instantiate-expr-4.cpp index 8cd7342..adae1da 100644 --- a/test/SemaTemplate/instantiate-expr-4.cpp +++ b/test/SemaTemplate/instantiate-expr-4.cpp
@@ -115,7 +115,7 @@ struct Delete0 { void f(T t) { delete t; // expected-error{{cannot delete}} - ::delete [] t; + ::delete [] t; // expected-error{{cannot delete}} } };