Sign in
llvm
/
clang
/
3b8d539899d6651504edfbaaa2ea68eb9d7aa6ac
/
.
/
test
/
CodeGenCXX
/
template-anonymous-union-member-initializer.cpp
blob: 41ae08470a3deaa040e7af0d3e14bd2402510c3e [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm -o %t %s
template
<
typename
T
>
class
A
{
union
{
void
*
d
;
};
public
:
A
()
:
d
(
0
)
{
}
};
A
<int>
a0
;