Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
7121bdb91b86f6053765bda18dd0a8a118929ace
/
.
/
test
/
SemaCXX
/
decltype-pr4444.cpp
blob: a5ac54bc37fea95950a685f9d2ff4754ddd8477d [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
// expected-no-diagnostics
template
<
typename
T
,
T t
>
struct
TestStruct
{
typedef
decltype
(
t
+
2
)
sum_type
;
};