Richard Smith | 762bb9d | 2011-10-13 22:29:44 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11 |
Andy Gibbs | 8e8fb3b | 2012-10-19 12:44:48 +0000 | [diff] [blame] | 2 | // expected-no-diagnostics |
Anders Carlsson | 87471f5 | 2009-06-26 03:02:18 +0000 | [diff] [blame] | 3 | |
4 | template< typename T, T t, decltype(t+2) v > | ||||
5 | struct Convoluted {}; | ||||
6 | |||||
7 | int test_array[5]; | ||||
8 | |||||
9 | Convoluted< int *, test_array, nullptr > tarray; |