brintos

brintos / llvm-project-archived public Read only

0
0
Text · 298 B · 9487e4d Raw
18 lines · cpp
1// RUN: %clang_cc1 -x c++ -fsyntax-only %s2 3class C1 { };4class C2 { };5template<class TrieData> struct BinaryTrie {6  ~BinaryTrie() {7    (void)(({8      static int x = 5;9    }10    ));11  }12};13class FooTable {14  BinaryTrie<C1> c1_trie_;15  BinaryTrie<C2> c2_trie_;16};17FooTable* foo = new FooTable;18