repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang][lex] NFCI: Use DirectoryEntryRef in ModuleMap::inferFrameworkModule()
[llvm-project.git]
/
clang
/
test
/
SemaTemplate
/
member-inclass-init-value-dependent.cpp
blob
5bff7f2095795b70c06a356894f5da9967493287
1
// RUN: %clang_cc1 -emit-llvm-only %s
2
// PR10290
3
4
template
<
int
Flags
>
struct
foo
{
5
int
value
=
Flags
&&
0
;
6
};
7
8
void
test
() {
9
foo
<
4
>
bar
;
10
}
11
12
struct
S
{
13
S
(
int
n
);
14
};
15
template
<
typename
>
struct
T
{
16
S s
=
0
;
17
};
18
T
<
int
>
t
;