Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
14e25c0477bf9f51e980fdc23b7f0bff800f3ae7
/
.
/
test
/
SemaTemplate
/
member-inclass-init-value-dependent.cpp
blob: 5bff7f2095795b70c06a356894f5da9967493287 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm-only %s
// PR10290
template
<
int
Flags
>
struct
foo
{
int
value
=
Flags
&&
0
;
};
void
test
()
{
foo
<
4
>
bar
;
}
struct
S
{
S
(
int
n
);
};
template
<typename>
struct
T
{
S s
=
0
;
};
T
<int>
t
;