Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
f031774aa2638b4d3f487e7e44180c1f89b867ef
/
.
/
test
/
SemaTemplate
/
instantiate-function-2.cpp
blob: 6318facfc0ea8ea9348de61125bf74184e9a5434 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
template
<
typename
T
>
struct
S
{
S
()
{
}
S
(
T t
);
};
template
struct
S
<int>
;
void
f
()
{
S
<int>
s1
;
S
<int>
s2
(
10
);
}