☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
DebugInfo
/
CXX
/
template-array.cpp
☽
☼
clang/test/DebugInfo/CXX/template-array.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
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
}