brintos

brintos / llvm-project-archived public Read only

0
0
Text · 237 B · 305327b Raw
15 lines · cpp
1// RUN: %clang -emit-llvm -g -S %s -o -2// PR135313template <typename>4struct unique_ptr {5  unique_ptr() {}6};7 8template <unsigned>9struct Vertex {};10 11void crash() // Asserts12{13  unique_ptr<Vertex<2>[]> v = unique_ptr<Vertex<2>[]>();14}15