repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
X86MCInstLower::Lower should only not emit anything to OutStreamer,
[llvm/avr.git]
/
test
/
FrontendC++
/
2006-09-12-OpaqueStructCrash.cpp
blob
f3160e84e2c2dde41f614ae3efdc683d4f921b57
1
// RUN: %llvmgxx -O3 -S -o - %s
2
3
struct
A
{
4
virtual
~
A
();
5
};
6
7
template
<
typename Ty
>
8
struct
B
:
public
A
{
9
~
B
() {
delete
[]
val
; }
10
private
:
11
Ty
*
val
;
12
};
13
14
template
<
typename Ty
>
15
struct
C
:
public
A
{
16
C
();
17
~
C
();
18
};
19
20
template
<
typename Ty
>
21
struct
D
:
public
A
{
22
D
() {}
23
private
:
24
B
<
C
<
Ty
> >
blocks
;
25
};
26
27
template class
D
<
double
>;
28