mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-19 11:35:51 -04:00
15 lines
237 B
C++
15 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>[]>();
|
|
}
|