aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/decltype-pr4444.cpp
blob: 8b2f584d24dd5468c7166122eee8e538327ffb74 (plain)
1
2
3
4
5
6
// RUN: clang-cc -fsyntax-only -verify %s -std=c++0x

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