repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
PR12481.cpp
blob
9487e4dc89ec30af0886e0062780ef12e63fdc7e
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
;