Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Analysis / Inputs / ctu-inherited-default-ctor-other.cpp
blobb529f416999daf5e0678cb6e51b4e284af76e298
1 namespace llvm {
2 template <int, typename...>
3 class impl;
4 // basecase
5 template <int n>
6 class impl<n> {};
7 // recursion
8 template <int n, typename T, typename... TS>
9 class impl<n, T, TS...> : impl<n + 1, TS...> {
10 using child = impl<n + 1, TS...>;
11 using child::child; // no-crash
12 impl(T);
14 template <typename... TS>
15 class container : impl<0, TS...> {};
16 } // namespace llvm
17 namespace clang {
18 class fun {
19 llvm::container<int, float> k;
20 fun() {}
22 class DeclContextLookupResult {
23 static int *const SingleElementDummyList;
25 } // namespace clang
26 using namespace clang;
27 int *const DeclContextLookupResult::SingleElementDummyList = nullptr;