f4a2713ac8
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
14 lines
237 B
C++
14 lines
237 B
C++
// RUN: %clang -emit-llvm -g -S %s -o -
|
|
// PR13531
|
|
template <typename>
|
|
struct unique_ptr {
|
|
unique_ptr() {}
|
|
};
|
|
|
|
template <unsigned>
|
|
struct Vertex {};
|
|
|
|
void crash() // Asserts
|
|
{
|
|
unique_ptr<Vertex<2>[]> v = unique_ptr<Vertex<2>[]>();
|
|
}
|