repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Preserve NSW flags for `lshr (mul nuw X, C1), C2 -> mul nuw nsw X,...
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
template-anonymous-union-member-initializer.cpp
blob
41ae08470a3deaa040e7af0d3e14bd2402510c3e
1
// RUN: %clang_cc1 -emit-llvm -o %t %s
2
template
<
typename T
>
3
class
A
4
{
5
union
{
void
*
d
; };
6
7
public
:
8
A
() :
d
(
0
) { }
9
};
10
11
A
<
int
>
a0
;