llvm-project/clang/test/CodeGenCXX/debug-info-template-array.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
237 B
C++
Raw Normal View History

// 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>[]>();
}