Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
006105d5a8c6565018e4e2a25860d4a7f4c7f4a6
/
.
/
test
/
SemaTemplate
/
instantiate-function-2.cpp
blob: 51a60146d46aef0b4d7e69ebd32a01d7fb0c63dd [
file
] [
log
] [
blame
]
Douglas Gregor
49f25ec
2009-05-15 21:18:27 +0000
[
diff
] [
blame
]
1
// RUN: clang-cc -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
}