Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
13a5be10b198a5dc7e3e72c54481cd8b70f68495
/
.
/
test
/
CodeGenCXX
/
instantiate-init-list.cpp
blob: 7d5458af1f55e26e53ce2eaf983204b14d391f61 [
file
] [
log
] [
blame
]
// RUN: clang-cc %s -emit-llvm-only -verify
struct
F
{
void
(*
x
)();
};
void
G
();
template
<
class
T
>
class
A
{
A
();
};
template
<
class
T
>
A
<
T
>::
A
()
{
static
F f
=
{
G
};
}
A
<int>
a
;