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

decltype-pr4444.cpp « SemaCXX « test « clang - github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 456b22c5f7f23b563f69ad18d3c1dcc8c69767a5 (plain)
1
2
3
4
5
6
// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0x

template<typename T, T t>
struct TestStruct {
   typedef decltype(t+2) sum_type;
};