Sign in
cobalt
/
cobalt
/
04cd6faca4dd5039a1b810e9ba7b7a79e51a781d
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
Import
/
template-specialization
/
Inputs
/
T.cpp
blob: 7eea95829048c7b7997eb9b64309d50d3e38e640 [
file
] [
log
] [
blame
]
template
<
typename
T
>
struct
A
{
};
template
<>
struct
A
<int>
{
struct
B
{
int
f
;
};
};
template
<>
struct
A
<bool>
{
struct
B
{
int
g
;
};
};
template
<
typename
T
>
constexpr
int
f
()
{
return
0
;
}
template
<>
constexpr
int
f
<int>
()
{
return
4
;
}