You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
237 B
15 lines
237 B
4 months ago
|
// 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>[]>();
|
||
|
}
|