Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
4a529d26d6ccfc9b3d11031f1256f4f87055c562
/
.
/
test
/
CXX
/
temp
/
temp.param
/
p5.cpp
blob: 3cbb3b7c0103f9d0b1bfc0dca1fac89d8da488c2 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -verify %s -std=c++11
template
<
const
int
I
>
struct
S
{
decltype
(
I
)
n
;
int
&&
r
=
I
;
};
S
<
5
>
s
;
template
<
typename
T
,
T v
>
struct
U
{
decltype
(
v
)
n
;
int
&&
r
=
v
;
};
U
<
const
int
,
6
>
u
;