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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
default-constructor-for-members.cpp
blob
5eb8cd1767bb3a5a8bfa7ba30b967bc9e1065163
1
// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm %s -o - | \
2
// RUN: FileCheck %s
3
// RUN: %clang_cc1 -triple i386-apple-darwin -emit-llvm %s -o - | \
4
// RUN: FileCheck %s
5
6
extern
"C"
int
printf
(...);
7
8
struct
S
{
9
S
() {
printf
(
"S::S()
\n
"
); }
10
int
iS
;
11
};
12
13
struct
M
{
14
S ARR_S
;
15
};
16
17
int
main
() {
18
M m1
;
19
}
20
21
// CHECK: call void @_ZN1SC1Ev