Mercurial > hg > CbC > CbC_llvm
annotate clang/test/SemaTemplate/crash-unparsed-exception.cpp @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | 1d019706d866 |
children |
rev | line source |
---|---|
150 | 1 // RUN: %clang_cc1 -fsyntax-only -std=c++11 -verify -fcxx-exceptions -fexceptions %s |
2 // expected-no-diagnostics | |
3 | |
4 struct A { | |
5 virtual ~A(); | |
6 }; | |
7 template <class> | |
8 struct B {}; | |
9 struct C { | |
10 template <typename> | |
11 struct D { | |
12 ~D() throw(); | |
13 }; | |
14 struct E : A { | |
15 D<int> d; | |
16 }; | |
17 B<int> b; | |
18 }; |