| Eric Christopher | c7fb748 | 2012-08-07 00:48:43 +0000 | [diff] [blame] | 1 | // RUN: %clang -emit-llvm -g -S %s -o - |
| 2 | // PR13531 | ||||
| 3 | template <typename> | ||||
| 4 | struct unique_ptr { | ||||
| 5 | unique_ptr() {} | ||||
| 6 | }; | ||||
| 7 | |||||
| 8 | template <unsigned> | ||||
| 9 | struct Vertex {}; | ||||
| 10 | |||||
| 11 | void crash() // Asserts | ||||
| 12 | { | ||||
| 13 | unique_ptr<Vertex<2>[]> v = unique_ptr<Vertex<2>[]>(); | ||||
| 14 | } | ||||