| 1 | // RUN: %clang_cc1 -x c++ -fsyntax-only %s |
|---|---|
| 2 | |
| 3 | class C1 { }; |
| 4 | class C2 { }; |
| 5 | template<class TrieData> struct BinaryTrie { |
| 6 | ~BinaryTrie() { |
| 7 | (void)(({ |
| 8 | static int x = 5; |
| 9 | } |
| 10 | )); |
| 11 | } |
| 12 | }; |
| 13 | class FooTable { |
| 14 | BinaryTrie<C1> c1_trie_; |
| 15 | BinaryTrie<C2> c2_trie_; |
| 16 | }; |
| 17 | FooTable* foo = new FooTable; |
| 18 |