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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
debug-info-template-array.cpp
blob
305327bbe09953fe4f5feef87a22f06ed783a9ea
1
// RUN: %clang -emit-llvm -g -S %s -o -
2
// PR13531
3
template
<
typename
>
4
struct
unique_ptr
{
5
unique_ptr
() {}
6
};
7
8
template
<
unsigned
>
9
struct
Vertex
{};
10
11
void
crash
()
// Asserts
12
{
13
unique_ptr
<
Vertex
<
2
>[]>
v
=
unique_ptr
<
Vertex
<
2
>[]>();
14
}