freebsd-nq/test/SemaCXX/decltype-pr4448.cpp
2010-01-01 10:34:51 +00:00

9 lines
193 B
C++

// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x
template< typename T, T t, decltype(t+2) v >
struct Convoluted {};
int test_array[5];
Convoluted< int *, test_array, nullptr > tarray;