Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
f8fd82ba49827db0f6a6ba00c55a7b56b12a19fa
/
.
/
test
/
SemaTemplate
/
instantiate-function-2.cpp
blob: 6318facfc0ea8ea9348de61125bf74184e9a5434 [
file
] [
log
] [
blame
]
Shih-wei Liao
f8fd82b
2010-02-10 11:10:31 -0800
[
diff
] [
blame^
]
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
template
<
typename
T
>
struct
S
{
3
S
()
{
}
4
S
(
T t
);
5
};
6
7
template
struct
S
<int>
;
8
9
void
f
()
{
10
S
<int>
s1
;
11
S
<int>
s2
(
10
);
12
}