blob: 9487e4dc89ec30af0886e0062780ef12e63fdc7e [file] [log] [blame]
Matt Beaumont-Gay01211832012-04-06 18:47:27 +00001// RUN: %clang_cc1 -x c++ -fsyntax-only %s
2
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;