Welcome to mirror list, hosted at ThFree Co, Russian Federation.

decltype-pr4448.cpp « SemaCXX « test « clang - github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ead24ce0ca8607bb716223ba319a14fb189900fe (plain)
1
2
3
4
5
6
7
8
// 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;