[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / SemaCXX / PR12481.cpp
blob9487e4dc89ec30af0886e0062780ef12e63fdc7e
1 // RUN: %clang_cc1 -x c++ -fsyntax-only %s
3 class C1 { };
4 class C2 { };
5 template<class TrieData> struct BinaryTrie {
6 ~BinaryTrie() {
7 (void)(({
8 static int x = 5;
10 ));
13 class FooTable {
14 BinaryTrie<C1> c1_trie_;
15 BinaryTrie<C2> c2_trie_;
17 FooTable* foo = new FooTable;