blob: 305327bbe09953fe4f5feef87a22f06ed783a9ea [file] [log] [blame]
// 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>[]>();
}