Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
f8fd82ba49827db0f6a6ba00c55a7b56b12a19fa
/
.
/
test
/
CodeGenCXX
/
instantiate-init-list.cpp
blob: 676d2994e7ed499543f6aee86435959e049121c0 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %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
;