[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / SemaCXX / decltype-pr4448.cpp
blobb781b891ffb7868f82a6fc0a1281872c10a71a89
1 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
2 // expected-no-diagnostics
4 template< typename T, T t, decltype(t+2) v >
5 struct Convoluted {};
7 int test_array[5];
9 Convoluted< int *, test_array, nullptr > tarray;